Re: [PHP-DEV] caller function? From: Zeev Suraski (zeev <email protected>)
Date: 12/14/00

At 04:01 14/12/2000, Tom Fishwick wrote:
>Hi!
>
>Anyone here working on a caller() function? I spent a couple hours last
>night looking through the zend code, and I think may be able to do it,
>but if someone more experianced is working on it then I'll leave it
>alone. If no one is working on it, could someone give me a hint or two
>on where to start, or how it would be implemented _correctly_?

What's the caller() function supposed to do? If it's displaying the
calling function name, there's no way of doing this now without slowing
down execution time for all function calls.

>Also, any thoughts on some type checking syntax? ie.

We're not getting into this now. It's a major concept change and should be
discussed (I'm generally against it, definitely when talking about
primitive types - perhaps with the future OO support).

Zeev

--
Zeev Suraski <zeev <email protected>>
CTO, Zend Technologies Ltd. http://www.zend.com/

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>