Skip to content

Commit 89aaa8f

Browse files
committed
Fix additional tests
1 parent 03038f5 commit 89aaa8f

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

ext/opcache/tests/jit/ignored_opcodes.phpt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ opcache.jit=function
99
zend_test.observer.enabled=1
1010
zend_test.observer.show_output=1
1111
zend_test.observer.observe_all=1
12-
zend_test.observer.show_opcode_in_user_handler=ZEND_EXIT, ZEND_BEGIN_SILENCE, ZEND_END_SILENCE
12+
zend_test.observer.show_opcode_in_user_handler=ZEND_BEGIN_SILENCE, ZEND_END_SILENCE
1313
--EXTENSIONS--
1414
opcache
1515
zend_test
@@ -27,6 +27,9 @@ exit(@test());
2727
<file '%s'>
2828
<!-- opcode: 'ZEND_BEGIN_SILENCE' in user handler -->
2929
<!-- opcode: 'ZEND_END_SILENCE' in user handler -->
30-
<!-- opcode: 'ZEND_EXIT' in user handler -->
30+
<!-- init exit() -->
31+
<exit>
32+
<!-- Exception: UnwindExit -->
33+
</exit>
3134
<!-- Exception: UnwindExit -->
3235
</file '%s'>

ext/tokenizer/tests/001.phpt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ echo token_name(T_OBJECT_CAST), "\n";
4848
echo token_name(T_BOOL_CAST), "\n";
4949
echo token_name(T_UNSET_CAST), "\n";
5050
echo token_name(T_NEW), "\n";
51-
echo token_name(T_EXIT), "\n";
5251
echo token_name(T_IF), "\n";
5352
echo token_name(T_ELSEIF), "\n";
5453
echo token_name(T_ELSE), "\n";
@@ -172,7 +171,6 @@ T_OBJECT_CAST
172171
T_BOOL_CAST
173172
T_UNSET_CAST
174173
T_NEW
175-
T_EXIT
176174
T_IF
177175
T_ELSEIF
178176
T_ELSE

0 commit comments

Comments
 (0)