summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikita Popov <nikic@php.net>2016-10-12 22:43:01 +0200
committerAnatol Belski <ab@php.net>2016-10-14 01:53:25 +0200
commit6baaccc9b630daf4a8afd618b725cfa9450dda45 (patch)
tree7be9b6093ff65daaa5e2930f7ad7f00655990d76
parent0e4c1733494a948f114f1c13799d571eaedbf599 (diff)
downloadphp-git-6baaccc9b630daf4a8afd618b725cfa9450dda45.tar.gz
Merge branch 'PHP-7.0' into PHP-7.1
(cherry picked from commit 9669ec707ab99d33404d3132792a24ebd1130fcf)
-rw-r--r--sapi/phpdbg/tests/exceptions_003.phpt4
-rw-r--r--sapi/phpdbg/tests/next_001.phpt4
-rw-r--r--sapi/phpdbg/tests/print_001.phpt4
-rw-r--r--sapi/phpdbg/tests/stepping_001.phpt6
-rw-r--r--sapi/phpdbg/tests/watch_001.phpt3
-rw-r--r--sapi/phpdbg/tests/watch_002.phpt3
-rw-r--r--sapi/phpdbg/tests/watch_003.phpt3
-rw-r--r--sapi/phpdbg/tests/watch_004.phpt3
-rw-r--r--sapi/phpdbg/tests/watch_006.phpt3
9 files changed, 13 insertions, 20 deletions
diff --git a/sapi/phpdbg/tests/exceptions_003.phpt b/sapi/phpdbg/tests/exceptions_003.phpt
index 2a982bcbe3..ab26bb4b9d 100644
--- a/sapi/phpdbg/tests/exceptions_003.phpt
+++ b/sapi/phpdbg/tests/exceptions_003.phpt
@@ -35,8 +35,8 @@ prompt> [L10 %s ECHO "caught "
00011: }
00012:
prompt> caught
-[L10 %s RETURN 1 %s]
-[Script ended normally]
+[L14 %s RETURN 1 %s]
+>00014:
prompt>
--FILE--
<?php
diff --git a/sapi/phpdbg/tests/next_001.phpt b/sapi/phpdbg/tests/next_001.phpt
index 3c92cebbdb..b07d954303 100644
--- a/sapi/phpdbg/tests/next_001.phpt
+++ b/sapi/phpdbg/tests/next_001.phpt
@@ -23,8 +23,8 @@ prompt> [L8 %s ECHO 1
>00008: echo 1;
00009:
prompt> 1
-[L8 %s RETURN 1 %s]
-[Script ended normally]
+[L9 %s RETURN 1 %s]
+>00009:
prompt>
--FILE--
<?php
diff --git a/sapi/phpdbg/tests/print_001.phpt b/sapi/phpdbg/tests/print_001.phpt
index 1f7a5ac0b9..94ccedc3cf 100644
--- a/sapi/phpdbg/tests/print_001.phpt
+++ b/sapi/phpdbg/tests/print_001.phpt
@@ -31,7 +31,7 @@ L9-9 Foo\Bar::baz() %s - %s + 1 ops
L9 #0 RETURN null
prompt> [Not Executing!]
prompt> [Context %s (11 ops)]
-L1-19 {main}() %s - %s + 11 ops
+L1-21 {main}() %s - %s + 11 ops
L4 #0 NOP
L14 #1 NOP
L18 #2 NEW "Foo\\Bar" @1
@@ -42,7 +42,7 @@ L1-19 {main}() %s - %s + 11 ops
L19 #7 INIT_FCALL%s %d %s "foo"
L19 #8 SEND_VAL "test" 1
L19 #9 DO_FCALL
- L19 #10 RETURN 1
+ L21 #10 RETURN 1
prompt>
--FILE--
<?php
diff --git a/sapi/phpdbg/tests/stepping_001.phpt b/sapi/phpdbg/tests/stepping_001.phpt
index 9366550f56..76577b2767 100644
--- a/sapi/phpdbg/tests/stepping_001.phpt
+++ b/sapi/phpdbg/tests/stepping_001.phpt
@@ -48,10 +48,8 @@ prompt> ... ok
>00011: } finally {
00012: echo " ... ok";
00013: }
-prompt> [L12 %s RETURN 1 %s]
->00012: echo " ... ok";
- 00013: }
- 00014:
+prompt> [L14 %s RETURN 1 %s]
+>00014:
prompt>
--FILE--
<?php
diff --git a/sapi/phpdbg/tests/watch_001.phpt b/sapi/phpdbg/tests/watch_001.phpt
index 966c3015f7..e16681bf7c 100644
--- a/sapi/phpdbg/tests/watch_001.phpt
+++ b/sapi/phpdbg/tests/watch_001.phpt
@@ -33,8 +33,7 @@ New value:
prompt> [Breaking on watchpoint $b]
Old value:
New value: 2
->00007: $b = 2;
- 00008:
+>00008:
prompt> [$b has been removed, removing watchpoint recursively]
[Script ended normally]
prompt>
diff --git a/sapi/phpdbg/tests/watch_002.phpt b/sapi/phpdbg/tests/watch_002.phpt
index a12400e153..b57ca0a1d4 100644
--- a/sapi/phpdbg/tests/watch_002.phpt
+++ b/sapi/phpdbg/tests/watch_002.phpt
@@ -17,8 +17,7 @@ prompt> [Breakpoint #0 at %s:6, hits: 1]
prompt> [Added watchpoint #0 for $a[]]
prompt> [Breaking on watchpoint $a[]]
1 elements were added to the array
->00008: $a = [0 => 3, 1 => 4];
- 00009:
+>00009:
prompt> [$a[] has been removed, removing watchpoint]
[Script ended normally]
prompt>
diff --git a/sapi/phpdbg/tests/watch_003.phpt b/sapi/phpdbg/tests/watch_003.phpt
index cb09bd4792..08868aedc3 100644
--- a/sapi/phpdbg/tests/watch_003.phpt
+++ b/sapi/phpdbg/tests/watch_003.phpt
@@ -24,8 +24,7 @@ New value: 2
prompt> [Breaking on watchpoint $a[0]]
Old value: 2
New value: 3
->00008: $a = [0 => 3, 1 => 4];
- 00009:
+>00009:
prompt> [$a[0] has been removed, removing watchpoint]
[Script ended normally]
prompt>
diff --git a/sapi/phpdbg/tests/watch_004.phpt b/sapi/phpdbg/tests/watch_004.phpt
index 98c8afd085..878542937b 100644
--- a/sapi/phpdbg/tests/watch_004.phpt
+++ b/sapi/phpdbg/tests/watch_004.phpt
@@ -26,8 +26,7 @@ New value: aa
prompt> [Breaking on watchpoint $a]
Old value: aa
New value: ab
->00005: $a[1] = "b";
- 00006:
+>00006:
prompt> [$a has been removed, removing watchpoint]
[Script ended normally]
prompt>
diff --git a/sapi/phpdbg/tests/watch_006.phpt b/sapi/phpdbg/tests/watch_006.phpt
index b8f6206e56..bf38b8eff1 100644
--- a/sapi/phpdbg/tests/watch_006.phpt
+++ b/sapi/phpdbg/tests/watch_006.phpt
@@ -54,8 +54,7 @@ New value (reference): Array ([0] => 2,[1] => 3)
prompt> [Breaking on watchpoint $b]
Old value inaccessible or destroyed
New value (reference): Array ([0] => 1)
->00009: $b = &$c;
- 00010:
+>00010:
prompt> [$b has been removed, removing watchpoint recursively]
[$a[0] has been removed, removing watchpoint]
[Script ended normally]