blob: 17a99cef48616d60a5bae47029e2aa65fcaed244 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--TEST--
Testing __callstatic declaration with wrong modifier
--FILE--
<?php
class a {
static protected function __callstatic($a, $b) {
}
}
?>
--EXPECTF--
Warning: The magic method a::__callStatic() must have public visibility and be static in %s on line %d
|