--TEST-- Test bindec() function : usage variations - different data types as $binary_string arg --SKIPIF-- --FILE-- getMessage(), "\n"; } $iterator++; }; fclose($fp); ?> --EXPECTF-- *** Testing bindec() : usage variations *** -- Iteration 1 -- int(0) -- Iteration 2 -- int(1) -- Iteration 3 -- Deprecated: Invalid characters passed for attempted conversion, these have been ignored in %s on line %d int(1) -- Iteration 4 -- Deprecated: Invalid characters passed for attempted conversion, these have been ignored in %s on line %d int(0) -- Iteration 5 -- Deprecated: Invalid characters passed for attempted conversion, these have been ignored in %s on line %d int(2) -- Iteration 6 -- Deprecated: Invalid characters passed for attempted conversion, these have been ignored in %s on line %d int(2) -- Iteration 7 -- Deprecated: Invalid characters passed for attempted conversion, these have been ignored in %s on line %d int(8) -- Iteration 8 -- Deprecated: Invalid characters passed for attempted conversion, these have been ignored in %s on line %d int(1) -- Iteration 9 -- Deprecated: Invalid characters passed for attempted conversion, these have been ignored in %s on line %d int(0) -- Iteration 10 -- int(0) -- Iteration 11 -- int(0) -- 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 -- bindec(): Argument #1 ($binary_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(0) -- Iteration 20 -- Deprecated: Invalid characters passed for attempted conversion, these have been ignored in %s on line %d int(0) -- Iteration 21 -- Deprecated: Invalid characters passed for attempted conversion, these have been ignored in %s on line %d int(0) -- Iteration 22 -- int(0) -- Iteration 23 -- int(0) -- Iteration 24 -- bindec(): Argument #1 ($binary_string) must be of type string, resource given