mirror of
https://github.com/php/php-src.git
synced 2024-12-02 22:34:55 +08:00
14 lines
259 B
PHP
14 lines
259 B
PHP
--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
|