Re: Can I fetch the current PHP code line in an extension's C code?
| From: | Kalle Sommer Nielsen | Date: | Thu, 30 Sep 2010 12:44:14 +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-7700@lists.php.net to get a copy of this message | ||
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
--
regards,
Kalle Sommer Nielsen
kalle@php.net