Skip to content

Extend zend_test internal execute code to print more information#20985

Merged
ndossche merged 3 commits intophp:masterfrom
ndossche:zend-test-improvements
Jan 20, 2026
Merged

Extend zend_test internal execute code to print more information#20985
ndossche merged 3 commits intophp:masterfrom
ndossche:zend-test-improvements

Conversation

@ndossche
Copy link
Copy Markdown
Member

First commit cleans up some redundant code.
Second commit adds the new functionality. I have a use-case of which I don't need full observers, as I'm only interested in the execution of internal functions and their return values. I think this might be useful for other people doing research as well.

The internal execute handler is used for internal functions, so by
definition it cannot be a user function.
…return info if requested) and exception state
Copy link
Copy Markdown
Member

@iluuu1994 iluuu1994 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks reasonable otherwise.

Comment thread ext/zend_test/observer.c
Comment thread ext/zend_test/tests/execute_internal.phpt
@ndossche ndossche merged commit 6a4d0d9 into php:master Jan 20, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants