Re: CG(zend_linecol)
| From: | Sebastian Bergmann | Date: | Wed, 21 Oct 2009 13:12:50 +0000 |
| Subject: | Re: CG(zend_linecol) | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-45855@lists.php.net to get a copy of this message | ||
Stanislav Malyshev wrote:
>> Would it be possible to implement CG(zend_linecol) in addition to
>> CG(zend_lineno)? As far I can see, this is a missing prerequisite for
>> Xdebug to report more fine-grained code coverage, for instance.
>
> Unless we put this inside each opcode, I'm not sure it'd help xdebug too
> much. And I'm not sure it is worth inflating the opcodes.
> Also, I'm not sure scanner now knows enough to do it - though maybe it
> can be made to know it.
Did anyone look into this yet? I still think that it would be beneficial
to have this information.
--
Sebastian Bergmann Co-Founder and Principal Consultant
http://sebastian-bergmann.de/
http://thePHP.cc/