]> granicus.if.org Git - php/commitdiff
Fix tests
authorBob Weinand <bobwei9@hotmail.com>
Fri, 31 Jul 2015 12:39:06 +0000 (14:39 +0200)
committerBob Weinand <bobwei9@hotmail.com>
Fri, 31 Jul 2015 16:22:04 +0000 (18:22 +0200)
sapi/phpdbg/tests/exceptions_001.phpt
sapi/phpdbg/tests/exceptions_002.phpt
sapi/phpdbg/tests/phpdbg_oplog_001.phpt
sapi/phpdbg/tests/print_001.phpt
sapi/phpdbg/tests/print_002.phpt

index fca94f512c533e7753133a125e1755e50d3f682e..d5646ad40ddf4b36ba6d0087b3731f6039885c28 100644 (file)
@@ -14,12 +14,12 @@ prompt> handle first
  00017:        } catch (\Exception $e) {
  00018:                var_dump($e);
 prompt> frame #0: {closure}() at %s:16
-frame #1: {main} at %s:18
+frame #1: {main} at %s:20
 prompt> 3
 prompt> Uncaught Error in %s on line 16
 Error: Call to undefined function foo() in %s:16
 Stack trace:
-#0 %s(18): {closure}()
+#0 %s(20): {closure}()
 #1 {main}
 [Script ended normally]
 prompt> 
index 9d3d805a5f74853ebe131695cdec4e1727f9c887..6c11c58db6d9ea4338505fda40456c00eec9781a 100644 (file)
@@ -17,13 +17,13 @@ prompt>
 Fatal error: Uncaught Error: Call to undefined function next_error() in eval()'d code:1
 Stack trace:
 #0 %s(16): unknown()
-#1 %s(18): {closure}()
+#1 %s(20): {closure}()
 #2 {main}
   thrown in eval()'d code on line 1
 prompt> Uncaught Error in %s on line 16
 Error: Call to undefined function foo() in %s:16
 Stack trace:
-#0 %s(18): {closure}()
+#0 %s(20): {closure}()
 #1 {main}
 [Script ended normally]
 prompt> [The stack contains nothing !]
index 15eeea5ebefd130e3052b0599ea6c9183b9a20eb..e4e558b9fac21e7733e93b03a252f1e6b0f3c9ed 100644 (file)
@@ -22,11 +22,13 @@ prompt> halloarray(2) {
     int(4)
   }
   ["A::b"]=>
-  array(2) {
+  array(3) {
     [4]=>
     int(1)
     [5]=>
-    int(5)
+    int(3)
+    [8]=>
+    int(2)
   }
 }
 [Script ended normally]
index 5bcc08184bd1444de4f300a159e3e909ef45bb40..b8e4043a8ab1e3f26e2a0d17ba44cb597c8ec9f3 100644 (file)
@@ -19,14 +19,14 @@ L14-16 foo() %s - %s + 8 ops
  L15   #4     DO_%cCALL                                                          @0                  
  L15   #5     SEND_VAR                @0                   1                                        
  L15   #6     DO_%cCALL                                                                              
- L15   #7     RETURN                  null                                                          
+ L16   #7     RETURN                  null                                                          
 prompt> [User Class: Foo\Bar (2 methods)]
 L5-7 Foo\Bar::Foo() %s - %s + 5 ops
  L5    #0     RECV                    1                                         $bar                
  L6    #1     INIT_NS_FCALL_BY_NAME                        "Foo\\var_dump"                          
  L6    #2     SEND_VAR_EX             $bar                 1                                        
  L6    #3     DO_FCALL                                                                              
- L6    #4     RETURN                  null                                                          
+ L7    #4     RETURN                  null                                                          
 L9-9 Foo\Bar::baz() %s - %s + 1 ops
  L9    #0     RETURN                  null                                                          
 prompt> [Not Executing!]
index 8225c4e0a529a8e30a188de9e53696ef785b4fb5..3134850a19deaa230a09eb32fe491592594834fc 100644 (file)
@@ -25,7 +25,7 @@ L14-16 foo() %s - %s + 8 ops
  L15   #4     DO_%cCALL                                                          @0                  
  L15   #5     SEND_VAR                @0                   1                                        
  L15   #6     DO_%cCALL                                                                              
- L15   #7     RETURN                  null                                                          
+ L16   #7     RETURN                  null                                                          
 prompt> [L15 %s INIT_FCALL%s 112                  "var_dump"                                %s]
 prompt> 
 --FILE--