diff options
Diffstat (limited to 'ext/standard/tests/general_functions/debug_zval_dump_e.phpt')
| -rw-r--r-- | ext/standard/tests/general_functions/debug_zval_dump_e.phpt | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/ext/standard/tests/general_functions/debug_zval_dump_e.phpt b/ext/standard/tests/general_functions/debug_zval_dump_e.phpt new file mode 100644 index 000000000..7b306978d --- /dev/null +++ b/ext/standard/tests/general_functions/debug_zval_dump_e.phpt @@ -0,0 +1,23 @@ +--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: Wrong parameter count for debug_zval_dump() in %s on line %d +Done |
