mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
12 lines
221 B
PHP
12 lines
221 B
PHP
--TEST--
|
|
Testing __call() declaration in interface with wrong modifier
|
|
--FILE--
|
|
<?php
|
|
|
|
interface a {
|
|
static function __call($a, $b);
|
|
}
|
|
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Method a::__call() cannot be static in %s on line %d
|