New version of debug_zval_dump_b.phpt, debug_zval_dump_v.phpt, is_float.phpt, is_numeric.phpt, is_string.phpt, var_dump.phpt, debug_zval_dump_e.phpt, is_array.phpt, is_int.phpt, is_object.phpt, print_r.phpt,
debug_zval_dump_o.phpt, is_bool.phpt, is_null.phpt, is_scalar.phpt, strval.phpt
2007-05-12 12:18:13 +00:00
|
|
|
--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 ***
|
|
|
|
|
2008-08-19 02:51:28 +00:00
|
|
|
Warning: debug_zval_dump() expects at least 1 parameter, 0 given in %s on line %d
|
New version of debug_zval_dump_b.phpt, debug_zval_dump_v.phpt, is_float.phpt, is_numeric.phpt, is_string.phpt, var_dump.phpt, debug_zval_dump_e.phpt, is_array.phpt, is_int.phpt, is_object.phpt, print_r.phpt,
debug_zval_dump_o.phpt, is_bool.phpt, is_null.phpt, is_scalar.phpt, strval.phpt
2007-05-12 12:18:13 +00:00
|
|
|
Done
|