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