xref: /PHP-8.1/Zend/tests/errmsg_018.phpt (revision f8d79582)
1--TEST--
2errmsg: static abstract function
3--FILE--
4<?php
5
6class test {
7    static abstract function foo ();
8}
9
10echo "Done\n";
11?>
12--EXPECTF--
13Fatal 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
14