« first day (4732 days earlier)      last day (437 days later) » 

08:07
Hmm, they were definitely not called for script bodies for me. Unless I failed to see it. Will dive into it again.

Xdebug still supports PHP 8.0, even for the upcoming release as 8.3 isn't out yet.

And for the optimiser, I thought I *had* set that flag, but will check again. But the "don't want SCCP" in general is untrue. I don't want it on for the debugger, but for tracing, or profiling, it needs to stay on.
 
1 hour later…
09:12
hi friends
i have any issue while passing my checkpoints to controller in js ajax im getting the issue like this rounds rounds
3 / 4 requests
3.8 kB / 3.8 kB transferred
{message: "The selected checkpoints must be an array.",…}
errors
:
{selected_checkpoints: ["The selected checkpoints must be an array."]}
message
:
"The selected checkpoints must be an array." please anyone suggest me how to over come this issue
 
4 hours later…
12:52
Note that include/eval is skipped when the first op is a return or it's an *_once
If it's only early bound funcs and classes in a file then the first op will be the implicit return 1, which isn't tracked.
if the goal is to track all file inclusions, it's better to hook the compile_file/string vars
I want every file execution. Xdebug treats include/require as a function call.
Well, these files are only compiled and not executed, so technically the observer is giving you every execution
Not in the way that zend_execute_ex override worked.
It's very likely there were only early bound funcs/classes in my test files, as they're all small.
else if (new_op_array->last == 1
 			&& new_op_array->opcodes[0].opcode == ZEND_RETURN
 			&& new_op_array->opcodes[0].op1_type == IS_CONST
 			&& EXPECTED(zend_execute_ex == execute_ex)) {
that last line huh :-)
13:01
I see, it's explicitly not skipping it for zend_execute_ex != execute_ex
I got to run now... but skimming ove rit, I didn't see an ZEND_OBSERVER_FCALL_END for includes either.
The end is in the ZEND_RETURN
i.e. the function leaving will call the end handler
(which is logical, given that the vm is by default not nesting, but just deferring execution to another opcode, which is in another function)
 
4 hours later…
16:54
Hear me out: iterator_map in std lib???
This is just bad, 3v4l.org/QHr6M
What I expected to work but does not: 3v4l.org/sf0Hb
He's no longer at Google, so he might reply to email now.
I could ping him on his commit I guess
Thanks :)

« first day (4732 days earlier)      last day (437 days later) »