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

2012-11-14 Thread B. Aerts
On 13/11/12 20:04, Robert Williams wrote: 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

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

[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