php-general Digest 13 Nov 2012 13:29:33 -0000 Issue 8038

2012-11-13 Thread php-general-digest-help
php-general Digest 13 Nov 2012 13:29:33 - Issue 8038 Topics (messages 319701 through 319702): Re: Date comparison going wrong, wrong, wrong 319701 by: Kanishka Re: memory allocation error 319702 by: Matijn Woudt Administrivia: To subscribe to the digest, e-mail:

Re: [PHP] memory allocation error

2012-11-13 Thread Matijn Woudt
On Tue, Nov 13, 2012 at 12:23 AM, Carol Peck carolap...@gmail.com wrote: On 11/12/2012 11:51 AM, Matijn Woudt wrote: On Mon, Nov 12, 2012 at 3:17 PM, Carol Peck carolap...@gmail.com wrote: Sebastian, Yes, I do , but this particular error never gets into my custom handler. I have also

Re: [PHP] Date comparison going wrong, wrong, wrong

2012-11-13 Thread Matijn Woudt
On Tue, Nov 13, 2012 at 5:11 AM, Kanishka kanishkani...@gmail.com wrote: if we use a date after 19 January 2038, we can not use 'strtotime' to get timestamp. http://en.wikipedia.org/wiki/Year_2038_problem Only if you're running 32bit OS. If you're running 64bit OS with 64bit PHP you can

Re: [PHP] memory allocation error

2012-11-13 Thread Carol Peck
On 11/13/2012 6:29 AM, Matijn Woudt wrote: On Tue, Nov 13, 2012 at 12:23 AM, Carol Peck carolap...@gmail.com mailto:carolap...@gmail.com wrote: On 11/12/2012 11:51 AM, Matijn Woudt wrote: On Mon, Nov 12, 2012 at 3:17 PM, Carol Peck carolap...@gmail.com

[PHP] error_handler : unique caller ID ?

2012-11-13 Thread B. Aerts
Dear list, a penny for your thoughts on the following problem. Does anyone have an idea how to find a unique caller ID for a user-defined error handler ? The goal is to get a cached error messages tree where the following snippet would yield an array as below it: // start-of-snippet

Re: [PHP] error_handler : unique caller ID ?

2012-11-13 Thread Robert Williams
On 11/13/12 11:20, B. Aerts ba_ae...@yahoo.com wrote: Having read access to a variable's address (like a C-pointer) would be perfect - but Google tells me you can't in PHP. If you can restrict yourself to objects for the passed variables, you can use spl_object_hash(). It does exactly what you