cvs: php4 /tests/classes static_mix_1.phpt static_mix_2.phpt
| From: | Marcus Boerger | Date: | Sun, 24 Nov 2002 16:07:34 +0000 |
| Subject: | cvs: php4 /tests/classes static_mix_1.phpt static_mix_2.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-16619@lists.php.net to get a copy of this message | ||
helly Sun Nov 24 11:07:34 2002 EDT
Modified files:
/php4/tests/classes static_mix_1.phpt static_mix_2.phpt
Log:
Better naming
Index: php4/tests/classes/static_mix_1.phpt
diff -u php4/tests/classes/static_mix_1.phpt:1.1 php4/tests/classes/static_mix_1.phpt:1.2
--- php4/tests/classes/static_mix_1.phpt:1.1 Sun Nov 24 10:50:28 2002
+++ php4/tests/classes/static_mix_1.phpt Sun Nov 24 11:07:34 2002
@@ -1,5 +1,5 @@
--TEST--
-You cannot overload astatic methods with a non static methods
+You cannot overload a static method with a non static method
--SKIPIF--
<?php if (version_compare(zend_version(), '2.0.0-dev', '<'))
die('skip ZendEngine 2 needed'); ?>
--FILE--
@@ -21,6 +21,6 @@
fail::show();
echo "Done\n"; // shouldn't be displayed of cause
-?>
+?>
--EXPECTF--
Fatal error: Cannot make static method pass::show() non static in class fail in %s on line %d
Index: php4/tests/classes/static_mix_2.phpt
diff -u php4/tests/classes/static_mix_2.phpt:1.1 php4/tests/classes/static_mix_2.phpt:1.2
--- php4/tests/classes/static_mix_2.phpt:1.1 Sun Nov 24 10:50:28 2002
+++ php4/tests/classes/static_mix_2.phpt Sun Nov 24 11:07:34 2002
@@ -1,5 +1,5 @@
--TEST--
-You cannot overload a non static methods with a static methods
+You cannot overload a non static method with a static method
--SKIPIF--
<?php if (version_compare(zend_version(), '2.0.0-dev', '<'))
die('skip ZendEngine 2 needed'); ?>
--FILE--