Re: [PHP] memory allocation error

2012-11-13 Thread Matijn Woudt
On Tue, Nov 13, 2012 at 12:23 AM, Carol Peck wrote: > > On 11/12/2012 11:51 AM, Matijn Woudt wrote: > > > On Mon, Nov 12, 2012 at 3:17 PM, Carol Peck wrote: > >> Sebastian, >> Yes, I do , but this particular error never gets into my custom handler. >> I have also set it so that fatal errors fal

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

2012-11-13 Thread Matijn Woudt
On Tue, Nov 13, 2012 at 5:11 AM, Kanishka 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 represent about 580 bil

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 > wrote: On 11/12/2012 11:51 AM, Matijn Woudt wrote: On Mon, Nov 12, 2012 at 3:17 PM, Carol Peck mailto:carolap...@gmail.com>> wrote: Sebastian,

[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 fun

Re: [PHP] error_handler : unique "caller ID" ?

2012-11-13 Thread Robert Williams
On 11/13/12 11:20, "B. Aerts" 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 need, but it on