summaryrefslogtreecommitdiff
path: root/Zend/tests/indirect_call_array_005.phpt
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-01-29 16:03:24 +0100
committerNikita Popov <nikita.ppv@gmail.com>2019-01-30 09:19:02 +0100
commit6c73b50cf6cf71be26700ce168d5e69350637d71 (patch)
tree63442d7344ac41468c4f22a193a2e1214993b1bd /Zend/tests/indirect_call_array_005.phpt
parent4eb5db2c68ecab4fd50a5e1950fdd6eb3703b899 (diff)
downloadphp-git-6c73b50cf6cf71be26700ce168d5e69350637d71.tar.gz
Remove static calls to non-static methods
Diffstat (limited to 'Zend/tests/indirect_call_array_005.phpt')
-rw-r--r--Zend/tests/indirect_call_array_005.phpt7
1 files changed, 2 insertions, 5 deletions
diff --git a/Zend/tests/indirect_call_array_005.phpt b/Zend/tests/indirect_call_array_005.phpt
index 4938856ed2..bd11df2d12 100644
--- a/Zend/tests/indirect_call_array_005.phpt
+++ b/Zend/tests/indirect_call_array_005.phpt
@@ -19,10 +19,7 @@ $callback = ['TestClass', 'method'];
echo $callback();
?>
--EXPECTF--
-Deprecated: Non-static method TestClass::method() should not be called statically in %s on line %d
-
-Fatal error: Uncaught Error: Using $this when not in object context in %s:%d
+Fatal error: Uncaught Error: Non-static method TestClass::method() cannot be called statically in %s:%d
Stack trace:
-#0 %s(%d): TestClass::method()
-#1 {main}
+#0 {main}
thrown in %s on line %d