Re: calling php__LINE__ & php__FILE__ in a (zif) function
| From: | Zeev Suraski | Date: | Mon, 20 Jan 2003 17:36:47 +0000 |
| Subject: | Re: calling php__LINE__ & php__FILE__ in a (zif) function | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-93567@lists.php.net to get a copy of this message | ||
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 technik@part2part.com -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php