--TEST-- Test hexdec() function : usage variations - different data types as $number arg --INI-- precision=14 --SKIPIF-- --FILE-- getMessage(), "\n"; } $iterator++; }; fclose($fp); ?> --EXPECTF-- *** Testing hexdec() : usage variations *** -- Iteration 1 -- int(0) -- Iteration 2 -- int(1) -- Iteration 3 -- int(74565) -- Iteration 4 -- Deprecated: Invalid characters passed for attempted conversion, these have been ignored in %s on line %d int(9029) -- Iteration 5 -- float(285960729237) -- Iteration 6 -- float(285960729238) -- Iteration 7 -- Deprecated: Invalid characters passed for attempted conversion, these have been ignored in %s on line %d int(261) -- Iteration 8 -- Deprecated: Invalid characters passed for attempted conversion, these have been ignored in %s on line %d int(261) -- Iteration 9 -- float(20015998341120) -- Iteration 10 -- Deprecated: Invalid characters passed for attempted conversion, these have been ignored in %s on line %d float(1250999896553) -- Iteration 11 -- Deprecated: Invalid characters passed for attempted conversion, these have been ignored in %s on line %d int(5) -- Iteration 12 -- int(1) -- Iteration 13 -- int(0) -- Iteration 14 -- int(1) -- Iteration 15 -- int(0) -- Iteration 16 -- int(0) -- Iteration 17 -- int(0) -- Iteration 18 -- hexdec(): Argument #1 ($hex_string) must be of type string, array given -- Iteration 19 -- Deprecated: Invalid characters passed for attempted conversion, these have been ignored in %s on line %d int(2748) -- Iteration 20 -- Deprecated: Invalid characters passed for attempted conversion, these have been ignored in %s on line %d int(2748) -- Iteration 21 -- Deprecated: Invalid characters passed for attempted conversion, these have been ignored in %s on line %d int(2748) -- Iteration 22 -- hexdec(): Argument #1 ($hex_string) must be of type string, resource given