Annotation of embedaddon/php/Zend/tests/bug51827.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: Bug #51827 (Bad warning when register_shutdown_function called with wrong num of parameters)
3: --FILE--
4: <?php
5:
6:
7: function abc() {
8: var_dump(1);
9: }
10:
11: register_shutdown_function('timE');
12: register_shutdown_function('ABC');
13: register_shutdown_function('exploDe');
14:
15: ?>
16: --EXPECTF--
17: int(1)
18:
19: Warning: explode() expects at least 2 parameters, 0 given in Unknown on line %d
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>