mirror of
https://github.com/php/php-src.git
synced 2024-10-17 14:32:37 +00:00
14 lines
263 B
PHP
14 lines
263 B
PHP
--TEST--
|
|
Testing __callstatic declaration with wrong modifier
|
|
--FILE--
|
|
<?php
|
|
|
|
class a {
|
|
static protected function __callstatic($a, $b) {
|
|
}
|
|
}
|
|
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: The magic method __callStatic() must have public visibility and be static in %s on line %d
|