2009/9/17 Sebastian Bergmann <s...@sebastian-bergmann.de>:
> Chris Trahey schrieb:
>> using it is current-implimentation specific (i.e. developer needs to
>> know the format of the array returned)
>
>  And adding another language feature is not something the developer needs
>  to know?
>
> --
> Sebastian Bergmann                    Co-Founder and Principal Consultant
> http://sebastian-bergmann.de/                           http://thePHP.cc/
>
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

Considering we have func_get_args(), maybe func_get_caller() would be
a nice fit.

I don't like the idea of a constant (CALLER) which changes value as
you move around the code. Quite obviously, it isn't constant!

The function func_get_caller() could be easily implemented in userland
until a core-level solution was reached (or not).

Regards,

Richard.

-- 
-----
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
ZOPA : http://uk.zopa.com/member/RQuadling

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to