1--TEST-- 2Test dechex() - wrong params dechex() 3--FILE-- 4<?php 5/* Prototype : string dechex ( int $number ) 6 * Description: Returns a string containing a hexadecimal representation of the given number argument. 7 * Source code: ext/standard/math.c 8 */ 9 10echo "*** Testing dechex() : error conditions ***\n"; 11 12echo "\nIncorrect number of arguments\n"; 13dechex(); 14dechex(23,2,true); 15 16?> 17===Done=== 18--EXPECTF-- 19*** Testing dechex() : error conditions *** 20 21Incorrect number of arguments 22 23Warning: dechex() expects exactly 1 parameter, 0 given in %s on line %d 24 25Warning: dechex() expects exactly 1 parameter, 3 given in %s on line %d 26===Done=== 27