Skip to content

Commit d04f17a

Browse files
committed
Fix tests
1 parent 354e0f1 commit d04f17a

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

ext/opcache/tests/opt/type_inference_final_class.phpt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ Test::getInt:
3636
0000 RETURN int(42)
3737

3838
Test::getInt2:
39-
; (lines=1, args=0, vars=0, tmps=0)
39+
; (lines=2, args=0, vars=0, tmps=1)
4040
; (after optimizer)
4141
; %s
42-
0000 RETURN int(42)
42+
0000 T0 = VERIFY_RETURN_TYPE int(42)
43+
0001 RETURN T0

sapi/phpdbg/tests/watch_005.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ New value: aa
3535
prompt> [Breaking on watchpoint $a]
3636
Old value inaccessible or destroyed
3737
New value (reference): aa
38-
>00006: $a[1] = "b";
38+
>00005: $c = &$a;
39+
00006: $a[1] = "b";
3940
00007:
40-
00008: exit;
4141
prompt> [Breaking on watchpoint $a]
4242
Old value: aa
4343
New value: ab

0 commit comments

Comments
 (0)