Annotation of embedaddon/php/ext/standard/tests/general_functions/debug_zval_dump_e.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: Test debug_zval_dump() function : error conditions
3: --FILE--
4: <?php
5: /* Prototype: void debug_zval_dump ( mixed $variable );
6: Description: Dumps a string representation of an internal zend value
7: to output.
8: */
9:
10: echo "*** Testing error conditions ***\n";
11:
12: /* passing zero argument */
13: debug_zval_dump();
14:
15: echo "Done\n";
16:
17: ?>
18:
19: --EXPECTF--
20: *** Testing error conditions ***
21:
22: Warning: debug_zval_dump() expects at least %d parameter, %d given in %s on line %d
23: Done
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>