How do I know if the code is in eval?
| From: | Aaron Lewis | Date: | Wed, 23 Jul 2014 02:23:29 +0000 |
| Subject: | How do I know if the code is in eval? | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-75918@lists.php.net to get a copy of this message | ||
Hi,
How can I know the line no in eval()'d code?
e.g eval()'d code on line 1 (I couldn't find the definition of that
output, so I had to ask it here)
zend_get_executed_lineno(TSRMLS_C) doesn't seem to be the right value
Also, I'm not sure how to tell if the code is in eval() either
--
Best Regards,
Aaron Lewis - PGP: 0x13714D33 - http://pgp.mit.edu/
Finger Print: 9F67 391B B770 8FF6 99DC D92D 87F6 2602 1371 4D33