xref: /PHP-5.5/Zend/tests/bug63173.phpt (revision 592b232e)
1--TEST--
2Bug #63173: Crash when invoking invalid array callback
3--FILE--
4<?php
5
6// the important part here are the indexes 1 and 2
7$callback = [1 => 0, 2 => 0];
8$callback();
9
10?>
11--EXPECTF--
12Fatal error: Array callback has to contain indices 0 and 1 in %s on line %d
13