blob: fb05cb1a53854fc3c72084190a04d88069025eb6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
--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
|