Skip to content

Commit cdf6538

Browse files
committed
Fix tests
1 parent 354e0f1 commit cdf6538

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
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: 3 additions & 3 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";
39-
00007:
40-
00008: exit;
38+
>00005: $c = &$a;
39+
00006: $a[1] = "b";
40+
00007:
4141
prompt> [Breaking on watchpoint $a]
4242
Old value: aa
4343
New value: ab

0 commit comments

Comments
 (0)