summaryrefslogtreecommitdiff
path: root/Zend/tests/call_static_004.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/call_static_004.phpt')
-rw-r--r--Zend/tests/call_static_004.phpt8
1 files changed, 4 insertions, 4 deletions
diff --git a/Zend/tests/call_static_004.phpt b/Zend/tests/call_static_004.phpt
index 427c12fc96..af49b1b2a2 100644
--- a/Zend/tests/call_static_004.phpt
+++ b/Zend/tests/call_static_004.phpt
@@ -4,9 +4,9 @@ Invalid method name in dynamic static call
<?php
class foo {
- static function __callstatic($a, $b) {
- var_dump($a);
- }
+ static function __callstatic($a, $b) {
+ var_dump($a);
+ }
}
foo::AaA();
@@ -18,7 +18,7 @@ foo::$a();
--EXPECTF--
string(3) "AaA"
-Fatal error: Uncaught Error: Function name must be a string in %s:%d
+Fatal error: Uncaught Error: Method name must be a string in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d