xref: /PHP-8.0/Zend/tests/errmsg_034.phpt (revision fbbcf82a)
1--TEST--
2errmsg: __clone() cannot be static
3--FILE--
4<?php
5
6class test {
7
8    static function __clone() {
9    }
10}
11
12echo "Done\n";
13?>
14--EXPECTF--
15Fatal error: Method test::__clone() cannot be static in %s on line %d
16