Bruce Bailey wrote: > Hi > > I would like to access the PHP script name and line number from within my > C extension. Is there a function that I can call that will give me this > information? I know I can call 'zend_error', but that really doesn't do > what I want. > > Thanks in advance, > > Bruce >
Try zend_get_(compiled|executed)_filename(TSRMLS_C) and zend_get_(compiled|executed)_lineno(TSRMLS_C). J -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php