mirror of
https://github.com/php/php-src.git
synced 2024-10-17 22:42:38 +00:00
18 lines
243 B
Plaintext
18 lines
243 B
Plaintext
|
--TEST--
|
||
|
Invalid method name in dynamic static call
|
||
|
--FILE--
|
||
|
<?php
|
||
|
|
||
|
class foo {
|
||
|
static function __callstatic($a, $b) {
|
||
|
var_dump($a);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
$a = 'foo::';
|
||
|
$a();
|
||
|
|
||
|
?>
|
||
|
--EXPECTF--
|
||
|
Fatal error: Call to undefined function foo::() in %s on line %d
|