blob: fe0a4dcc3dff6ecec51c0cbd4a49d9d9f001a6df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--TEST--
Testing __unset with private visibility
--FILE--
<?php
class foo {
private function __unset($a) {
print "unset\n";
}
}
?>
--EXPECTF--
Warning: The magic method __unset() must have public visibility and cannot be static in %s on line %d
|