summaryrefslogtreecommitdiff
path: root/Zend/tests/methods-on-non-objects-usort.phpt
diff options
context:
space:
mode:
authorTimm Friebe <thekid@thekid.de>2014-07-06 17:07:41 +0200
committerTimm Friebe <thekid@thekid.de>2014-07-06 17:07:41 +0200
commit9b6062071e5b2b226f23f7138472055a909f4800 (patch)
treec9006fc91c77160150e4aada1912a7a1e52574fe /Zend/tests/methods-on-non-objects-usort.phpt
parenta1554ca6343598c38e4fb4fbcc46419ce0bdf058 (diff)
downloadphp-git-9b6062071e5b2b226f23f7138472055a909f4800.tar.gz
Adjust expected fatal error message
Now also includes "on [TYPE]" after merge from master
Diffstat (limited to 'Zend/tests/methods-on-non-objects-usort.phpt')
-rw-r--r--Zend/tests/methods-on-non-objects-usort.phpt14
1 files changed, 7 insertions, 7 deletions
diff --git a/Zend/tests/methods-on-non-objects-usort.phpt b/Zend/tests/methods-on-non-objects-usort.phpt
index df702d3a9a..760d481b27 100644
--- a/Zend/tests/methods-on-non-objects-usort.phpt
+++ b/Zend/tests/methods-on-non-objects-usort.phpt
@@ -1,5 +1,5 @@
--TEST--
-usort() in combination with "Call to a member function method() on a non-object"
+usort() in combination with "Call to a member function method() on null"
--FILE--
<?php
set_error_handler(function($code, $message) {
@@ -16,17 +16,17 @@ echo "Alive\n";
?>
--EXPECTF--
int(4096)
-string(51) "Call to a member function compare() on a non-object"
+string(43) "Call to a member function compare() on null"
int(4096)
-string(51) "Call to a member function compare() on a non-object"
+string(43) "Call to a member function compare() on null"
int(4096)
-string(51) "Call to a member function compare() on a non-object"
+string(43) "Call to a member function compare() on null"
int(4096)
-string(51) "Call to a member function compare() on a non-object"
+string(43) "Call to a member function compare() on null"
int(4096)
-string(51) "Call to a member function compare() on a non-object"
+string(43) "Call to a member function compare() on null"
int(4096)
-string(51) "Call to a member function compare() on a non-object"
+string(43) "Call to a member function compare() on null"
array(5) {
[0]=>
int(-1)