mirror of
https://github.com/php/php-src.git
synced 2024-12-15 04:45:03 +08:00
15 lines
231 B
PHP
15 lines
231 B
PHP
--TEST--
|
|
Indirect method call by array - Invalid class name
|
|
--FILE--
|
|
<?php
|
|
|
|
$arr = array('a', 'b');
|
|
$arr();
|
|
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Uncaught Error: Class 'a' not found in %s:%d
|
|
Stack trace:
|
|
#0 {main}
|
|
thrown in %s on line %d
|