1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 08:12:21 +01:00

Update error message and say 'method' instead of 'function'

This commit is contained in:
Marcus Boerger
2002-11-22 10:44:36 +00:00
parent 714a5be6cc
commit 4e78286eaf

View File

@@ -1,5 +1,5 @@
--TEST--
An abstrcat function may not be called
An abstrcat method may not be called
--SKIPIF--
<?php if (version_compare(zend_version(), '2.0.0-dev', '<')) die('skip ZendEngine 2 needed'); ?>
--FILE--
@@ -26,4 +26,4 @@ echo "Done\n"; // shouldn't be displayed of cause
--EXPECTF--
Call to function show()
Fatal error: Cannot call abstract method show() in %s on line %d
Fatal error: Cannot call abstract method fail::show() in %s on line %d