Re: Can I fetch the current PHP code line in an extension's C code?
| From: | Patrick ALLAERT | Date: | Thu, 30 Sep 2010 12:52:26 +0000 |
| Subject: | Re: Can I fetch the current PHP code line in an extension's C code? | ||
| References: | 1 2 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-7701@lists.php.net to get a copy of this message | ||
2010/9/30 Kalle Sommer Nielsen <kalle@php.net>:
> Hi
>
> 2010/9/30 Neo Liu <diabloneo@gmail.com>:
>> Hi, everyone
>> Can I fetch the current code line in an extension's C code?
>>
>
> Try use the compiler time macro named __LINE__, most modern compiles have that
Neo's question might be about getting PHP's __LINE__ from inside a PHP
extension.