mirror of
https://github.com/php/php-src.git
synced 2024-10-02 15:26:06 +00:00
12 lines
201 B
PHP
12 lines
201 B
PHP
--TEST--
|
|
Indirect method call by array - Invalid method name
|
|
--FILE--
|
|
<?php
|
|
|
|
$arr = array('stdclass', 'b');
|
|
$arr();
|
|
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Call to undefined method stdClass::b() in %s on line %d
|