Re: Can I fetch the current PHP code line in an extension's C code?
| From: | Stas Malyshev | Date: | Thu, 30 Sep 2010 18:42:44 +0000 |
| Subject: | Re: Can I fetch the current PHP code line in an extension's C code? | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-7702@lists.php.net to get a copy of this message | ||
Hi!
Yes, zend_get_executed_lineno() would do the job. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227Can I fetch the current code line in an extension's C code?