blob: d85983a4198711f419270aa7a3cec69618070f0b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--TEST--
Testing __unset declaring as static
--FILE--
<?php
class foo {
static function __unset($a) {
print "unset\n";
}
}
?>
--EXPECTF--
Fatal error: Method foo::__unset() cannot be static in %s on line %d
|