zend_get_executed_filename() and zend_get_executed_lineno() should work.

Zeev

At 14:01 20/01/2003, Johannes G.  Arlt wrote:
Hi all,

For a (extension)-function (zif), is there a way to get __LINE__ and __FILE__
from the current php-script.
I neet the php__LINE__ and php__FILE__ in my own ext.-function form where the
function is calling.

--
thanks

Johannes G.  Arlt
[EMAIL PROTECTED]

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

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

Reply via email to