Hi!

> behavior I wasn't aware of: https://3v4l.org/6fSRb In backtraces the call
> is located on the line of it's last argument (in PHP 5.6 the line of the
> closing ")"). Wouldn't it make more sense to use the starting line of the
> call? That is, use the same lineno for INIT_FCALL and DO_FCALL?

Since the call happens after evaluating the arguments, if you debug in
IDE and go through the arguments, it'll make IDE prompt jump back
sometimes. Not sure it's a good. Logically, it looks like first argument
eval happens, then call happens, so linking it to ")" makes sense (if
you read it left to right, that's kind of the point where the actual
call happens).

-- 
Stas Malyshev
smalys...@gmail.com

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to