php-src/Zend/tests/magic_methods_009.phpt

14 lines
259 B
Plaintext
Raw Normal View History

--TEST--
Testing __callstatic declaration with wrong modifier
--FILE--
<?php
class a {
static protected function __callstatic($a, $b) {
}
}
?>
--EXPECTF--
Warning: The magic method __callStatic() must have public visibility and be static in %s on line %d