php-src/ext/standard/tests/general_functions/debug_zval_dump_e.phpt
Felipe Pena 30f7bd1cb6 - MFB: New parameter parsing API
- Fixed tests
2008-08-19 02:51:28 +00:00

24 lines
480 B
PHP

--TEST--
Test debug_zval_dump() function : error conditions
--FILE--
<?php
/* Prototype: void debug_zval_dump ( mixed $variable );
Description: Dumps a string representation of an internal zend value
to output.
*/
echo "*** Testing error conditions ***\n";
/* passing zero argument */
debug_zval_dump();
echo "Done\n";
?>
--EXPECTF--
*** Testing error conditions ***
Warning: debug_zval_dump() expects at least 1 parameter, 0 given in %s on line %d
Done