mirror of
https://github.com/php/php-src.git
synced 2024-11-24 10:24:11 +08:00
15 lines
258 B
PHP
15 lines
258 B
PHP
--TEST--
|
|
Indirect method call by array - Invalid method name
|
|
--FILE--
|
|
<?php
|
|
|
|
$arr = array('stdclass', 'b');
|
|
$arr();
|
|
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Uncaught Error: Call to undefined method stdClass::b() in %s:%d
|
|
Stack trace:
|
|
#0 {main}
|
|
thrown in %s on line %d
|