mirror of
https://github.com/php/php-src.git
synced 2024-10-01 06:46:08 +00:00
13 lines
266 B
Plaintext
13 lines
266 B
Plaintext
|
--TEST--
|
||
|
Bug #63173: Crash when invoking invalid array callback
|
||
|
--FILE--
|
||
|
<?php
|
||
|
|
||
|
// the important part here are the indexes 1 and 2
|
||
|
$callback = [1 => 0, 2 => 0];
|
||
|
$callback();
|
||
|
|
||
|
?>
|
||
|
--EXPECTF--
|
||
|
Fatal error: Array callback has to contain indices 0 and 1 in %s on line %d
|