mirror of
https://github.com/php/php-src.git
synced 2024-12-19 06:50:17 +08:00
19de727e04
Report the name the way the user has written it, the same way we always do.
14 lines
254 B
PHP
14 lines
254 B
PHP
--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 in %s on line %d
|