Browse Source

Better naming

experimental/threaded
Marcus Boerger 24 years ago
parent
commit
2ddbee008f
  1. 4
      tests/classes/static_mix_1.phpt
  2. 2
      tests/classes/static_mix_2.phpt

4
tests/classes/static_mix_1.phpt

@ -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 @@ pass::show();
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

2
tests/classes/static_mix_2.phpt

@ -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--

Loading…
Cancel
Save