]> granicus.if.org Git - php/commitdiff
Fix some tests
authorRasmus Lerdorf <rasmus@php.net>
Sat, 2 Feb 2008 00:29:17 +0000 (00:29 +0000)
committerRasmus Lerdorf <rasmus@php.net>
Sat, 2 Feb 2008 00:29:17 +0000 (00:29 +0000)
ext/standard/tests/general_functions/010.phpt
ext/standard/tests/general_functions/bug32647.phpt
ext/standard/tests/general_functions/bug40398.phpt
ext/standard/tests/general_functions/is_callable.phpt

index 8d1075f84296a877ddd9dce8f520c28de57923c7..e6b973055a4db630d2020920284978f7409d6ea4 100644 (file)
@@ -16,10 +16,10 @@ var_dump(register_shutdown_function(array("test","__call")));
 echo "Done\n";
 ?>
 --EXPECTF--    
-Strict Standards: Non-static method test::__call() cannot be called statically in %s on line %d
+Strict Standards: Non-static method test::__call() should not be called statically in %s on line %d
 NULL
 Done
 
-Strict Standards: Non-static method test::__call() cannot be called statically in Unknown on line 0
+Strict Standards: Non-static method test::__call() should not be called statically in Unknown on line 0
 
 Fatal error: Non-static method test::__call() cannot be called statically in Unknown on line 0
index 677e6b26f7b344da32b33ac7f0b167b083361372..85085971303d4e97b63b74de0616abb30a367729 100644 (file)
@@ -49,13 +49,13 @@ Warning: register_shutdown_function(): Invalid shutdown callback 'Array' passed
 
 Warning: register_shutdown_function(): Invalid shutdown callback 'bar' passed in %s on line %d
 
-Strict Standards: Non-static method bar::barfoo() cannot be called statically in %sbug32647.php on line %d
+Strict Standards: Non-static method bar::barfoo() should not be called statically in %sbug32647.php on line %d
 
 Warning: register_shutdown_function(): Invalid shutdown callback 'bar::foobar' passed in %sbug32647.php on line %d
 foo!
 
-Strict Standards: Non-static method bar::barfoo() cannot be called statically in Unknown on line 0
+Strict Standards: Non-static method bar::barfoo() should not be called statically in Unknown on line 0
 
-Strict Standards: Non-static method bar::barfoo() cannot be called statically in Unknown on line 0
+Strict Standards: Non-static method bar::barfoo() should not be called statically in Unknown on line 0
 bar!
 bar!
index d64a9fdf20b26db2c0b5f379a7f75c70f89b1441..bd3ffd3720b7ad501a3e81364d8a4753f2ff35ac 100755 (executable)
@@ -78,11 +78,11 @@ new Derived_6('6');
 Base::__construct(1)
 Base::__construct(2)
 
-Warning: call_user_func_array() expects parameter 1 to be valid callback, string given in %sbug40398.php on line %d
+Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method Base::__construct() cannot be called statically, assuming $this from compatible context Derived_%d in %s on line %d
 
-Warning: call_user_func_array() expects parameter 1 to be valid callback, string given in %sbug40398.php on line %d
+Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method Base::__construct() cannot be called statically, assuming $this from compatible context Derived_%d in %s on line %d
 
-Warning: call_user_func_array() expects parameter 1 to be valid callback, array given in %sbug40398.php on line %d
+Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method Base::__construct() cannot be called statically, assuming $this from compatible context Derived_%d in %s on line %d
 
-Warning: call_user_func_array() expects parameter 1 to be valid callback, array given in %sbug40398.php on line %d
+Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method Base::__construct() cannot be called statically, assuming $this from compatible context Derived_%d in %s on line %d
 ===DONE===
index b15703fed8a6bcf43bc9f7bf0c678120739484a8..965f5b45507656460be28bc66c18257bc58b8e84 100644 (file)
@@ -479,15 +479,15 @@ bool(false)
 object_class::func
 -- Innerloop iteration 10 of Outerloop iteration 1 --
 
-Strict Standards: Non-static method object_class::foo1() cannot be called statically in %s on line %d
+Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d
 bool(true)
 bool(true)
 
-Strict Standards: Non-static method object_class::foo1() cannot be called statically in %s on line %d
+Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d
 bool(true)
 bool(true)
 
-Strict Standards: Non-static method object_class::foo1() cannot be called statically in %s on line %d
+Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d
 bool(true)
 object_class::foo1
 --- Outerloop iteration 2 ---
@@ -556,15 +556,15 @@ bool(false)
 no_member_class::func
 -- Innerloop iteration 10 of Outerloop iteration 2 --
 
-Strict Standards: Non-static method object_class::foo1() cannot be called statically in %s on line %d
+Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d
 bool(true)
 bool(true)
 
-Strict Standards: Non-static method object_class::foo1() cannot be called statically in %s on line %d
+Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d
 bool(true)
 bool(true)
 
-Strict Standards: Non-static method object_class::foo1() cannot be called statically in %s on line %d
+Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d
 bool(true)
 object_class::foo1
 --- Outerloop iteration 3 ---
@@ -633,15 +633,15 @@ bool(true)
 contains_object_class::func
 -- Innerloop iteration 10 of Outerloop iteration 3 --
 
-Strict Standards: Non-static method object_class::foo1() cannot be called statically in %s on line %d
+Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d
 bool(true)
 bool(true)
 
-Strict Standards: Non-static method object_class::foo1() cannot be called statically in %s on line %d
+Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d
 bool(true)
 bool(true)
 
-Strict Standards: Non-static method object_class::foo1() cannot be called statically in %s on line %d
+Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d
 bool(true)
 object_class::foo1
 --- Outerloop iteration 4 ---
@@ -710,15 +710,15 @@ bool(true)
 contains_object_class::func
 -- Innerloop iteration 10 of Outerloop iteration 4 --
 
-Strict Standards: Non-static method object_class::foo1() cannot be called statically in %s on line %d
+Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d
 bool(true)
 bool(true)
 
-Strict Standards: Non-static method object_class::foo1() cannot be called statically in %s on line %d
+Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d
 bool(true)
 bool(true)
 
-Strict Standards: Non-static method object_class::foo1() cannot be called statically in %s on line %d
+Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d
 bool(true)
 object_class::foo1
 --- Outerloop iteration 5 ---
@@ -787,15 +787,15 @@ bool(false)
 object_class::func
 -- Innerloop iteration 10 of Outerloop iteration 5 --
 
-Strict Standards: Non-static method object_class::foo1() cannot be called statically in %s on line %d
+Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d
 bool(true)
 bool(true)
 
-Strict Standards: Non-static method object_class::foo1() cannot be called statically in %s on line %d
+Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d
 bool(true)
 bool(true)
 
-Strict Standards: Non-static method object_class::foo1() cannot be called statically in %s on line %d
+Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d
 bool(true)
 object_class::foo1
 --- Outerloop iteration 6 ---
@@ -864,15 +864,15 @@ bool(false)
 no_member_class::func
 -- Innerloop iteration 10 of Outerloop iteration 6 --
 
-Strict Standards: Non-static method object_class::foo1() cannot be called statically in %s on line %d
+Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d
 bool(true)
 bool(true)
 
-Strict Standards: Non-static method object_class::foo1() cannot be called statically in %s on line %d
+Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d
 bool(true)
 bool(true)
 
-Strict Standards: Non-static method object_class::foo1() cannot be called statically in %s on line %d
+Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d
 bool(true)
 object_class::foo1
 --- Outerloop iteration 7 ---
@@ -941,15 +941,15 @@ bool(false)
 object_class::func
 -- Innerloop iteration 10 of Outerloop iteration 7 --
 
-Strict Standards: Non-static method object_class::foo1() cannot be called statically in %s on line %d
+Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d
 bool(true)
 bool(true)
 
-Strict Standards: Non-static method object_class::foo1() cannot be called statically in %s on line %d
+Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d
 bool(true)
 bool(true)
 
-Strict Standards: Non-static method object_class::foo1() cannot be called statically in %s on line %d
+Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d
 bool(true)
 object_class::foo1
 --- Outerloop iteration 8 ---
@@ -1018,15 +1018,15 @@ bool(false)
 Array
 -- Innerloop iteration 10 of Outerloop iteration 8 --
 
-Strict Standards: Non-static method object_class::foo1() cannot be called statically in %s on line %d
+Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d
 bool(true)
 bool(true)
 
-Strict Standards: Non-static method object_class::foo1() cannot be called statically in %s on line %d
+Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d
 bool(true)
 bool(true)
 
-Strict Standards: Non-static method object_class::foo1() cannot be called statically in %s on line %d
+Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d
 bool(true)
 object_class::foo1