1
0
mirror of https://github.com/php/php-src.git synced 2026-03-25 16:52:18 +01:00
Files
archived-php-src/Zend/tests/errmsg_018.phpt
Antony Dovgal 0f0fe9c967 MFH: new tests
2007-02-07 11:10:32 +00:00

16 lines
382 B
PHP

--TEST--
errmsg: static abstract function
--FILE--
<?php
class test {
static abstract function foo ();
}
echo "Done\n";
?>
--EXPECTF--
Strict Standards: Static function test::foo() should not be abstract in %s on line %d
Fatal error: Class test contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (test::foo) in %s on line %d