summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2015-08-03 09:53:13 +0300
committerDmitry Stogov <dmitry@zend.com>2015-08-03 09:53:13 +0300
commitd28070870c10d4cbb222899a3e9ce25048a24f69 (patch)
treeb069a7f9a3bada445e2ef134e514d9f061504d70
parent7bc6706b6d036a601e817d491e3dbe19fb44bbed (diff)
downloadphp-git-d28070870c10d4cbb222899a3e9ce25048a24f69.tar.gz
Fixed tests (system dependent numbers are replaced with %d)
-rw-r--r--sapi/phpdbg/tests/print_001.phpt6
-rw-r--r--sapi/phpdbg/tests/print_002.phpt6
2 files changed, 6 insertions, 6 deletions
diff --git a/sapi/phpdbg/tests/print_001.phpt b/sapi/phpdbg/tests/print_001.phpt
index b8e4043a8a..1f7a5ac0b9 100644
--- a/sapi/phpdbg/tests/print_001.phpt
+++ b/sapi/phpdbg/tests/print_001.phpt
@@ -13,8 +13,8 @@ q
prompt> [User Function foo (8 ops)]
L14-16 foo() %s - %s + 8 ops
L14 #0 RECV 1 $baz
- L15 #1 INIT_FCALL%s 112 "var_dump"
- L15 #2 INIT_FCALL%s 112 "strrev"
+ L15 #1 INIT_FCALL%s %d %s "var_dump"
+ L15 #2 INIT_FCALL%s %d %s "strrev"
L15 #3 SEND_VAR $baz 1
L15 #4 DO_%cCALL @0
L15 #5 SEND_VAR @0 1
@@ -39,7 +39,7 @@ L1-19 {main}() %s - %s + 11 ops
L18 #4 INIT_METHOD_CALL @1 "Foo"
L18 #5 SEND_VAL_EX "test" 1
L18 #6 DO_FCALL
- L19 #7 INIT_FCALL%s 144 "foo"
+ L19 #7 INIT_FCALL%s %d %s "foo"
L19 #8 SEND_VAL "test" 1
L19 #9 DO_FCALL
L19 #10 RETURN 1
diff --git a/sapi/phpdbg/tests/print_002.phpt b/sapi/phpdbg/tests/print_002.phpt
index 3134850a19..3a824986c1 100644
--- a/sapi/phpdbg/tests/print_002.phpt
+++ b/sapi/phpdbg/tests/print_002.phpt
@@ -19,14 +19,14 @@ prompt> string(4) "test"
prompt> [Stack in foo() (8 ops)]
L14-16 foo() %s - %s + 8 ops
L14 #0 RECV 1 $baz
- L15 #1 INIT_FCALL%s 112 "var_dump"
- L15 #2 INIT_FCALL%s 112 "strrev"
+ L15 #1 INIT_FCALL%s %d %s "var_dump"
+ L15 #2 INIT_FCALL%s %d %s "strrev"
L15 #3 SEND_VAR $baz 1
L15 #4 DO_%cCALL @0
L15 #5 SEND_VAR @0 1
L15 #6 DO_%cCALL
L16 #7 RETURN null
-prompt> [L15 %s INIT_FCALL%s 112 "var_dump" %s]
+prompt> [L15 %s INIT_FCALL%s %d %s "var_dump" %s]
prompt>
--FILE--
<?php