unread
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
Fast, faster, fastest: Upgrade to Cable or DSL today!
https://broadband.msn.com
unread
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