blob: 97a7f1c2a6efd4c22570a110a0b3c4a0b9619edf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
--TEST--
errmsg: __clone() cannot be static
--FILE--
<?php
class test {
static function __clone() {
}
}
echo "Done\n";
?>
--EXPECTF--
Fatal error: Method test::__clone() cannot be static in %s on line %d
|