summaryrefslogtreecommitdiff
path: root/ext/spl/tests/spl_autoload_005.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/spl/tests/spl_autoload_005.phpt')
-rw-r--r--ext/spl/tests/spl_autoload_005.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/spl/tests/spl_autoload_005.phpt b/ext/spl/tests/spl_autoload_005.phpt
index 6eb8510325..0f2c5ed2c3 100644
--- a/ext/spl/tests/spl_autoload_005.phpt
+++ b/ext/spl/tests/spl_autoload_005.phpt
@@ -43,7 +43,7 @@ catch(Exception $e)
?>
--EXPECT--
-spl_autoload_register(): Argument #1 ($callback) must be a valid callback, non-static method MyAutoLoader::autoLoad() cannot be called statically
+spl_autoload_register(): Argument #1 ($callback) must be a valid callback or null, non-static method MyAutoLoader::autoLoad() cannot be called statically
MyAutoLoader::autoLoad(TestClass)
MyAutoLoader::autoThrow(TestClass)
Exception: Unavailable