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