summaryrefslogtreecommitdiff
path: root/ext/spl/tests/spl_autoload_008.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/spl/tests/spl_autoload_008.phpt')
-rw-r--r--ext/spl/tests/spl_autoload_008.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/spl/tests/spl_autoload_008.phpt b/ext/spl/tests/spl_autoload_008.phpt
index 99f61cd561..738c691ddf 100644
--- a/ext/spl/tests/spl_autoload_008.phpt
+++ b/ext/spl/tests/spl_autoload_008.phpt
@@ -81,7 +81,7 @@ Exception: Bla
int(0)
====2====
string(22) "MyAutoLoader::dynaLoad"
-TypeError: spl_autoload_register(): Argument #1 ($callback) must be a valid callback, non-static method MyAutoLoader::dynaLoad() cannot be called statically
+TypeError: spl_autoload_register(): Argument #1 ($callback) must be a valid callback or null, non-static method MyAutoLoader::dynaLoad() cannot be called statically
int(0)
====3====
array(2) {
@@ -101,7 +101,7 @@ array(2) {
[1]=>
string(8) "dynaLoad"
}
-TypeError: spl_autoload_register(): Argument #1 ($callback) must be a valid callback, non-static method MyAutoLoader::dynaLoad() cannot be called statically
+TypeError: spl_autoload_register(): Argument #1 ($callback) must be a valid callback or null, non-static method MyAutoLoader::dynaLoad() cannot be called statically
int(0)
====5====
array(2) {