Home
last modified time | relevance | path

Searched refs:bindec (Results 1 – 9 of 9) sorted by relevance

/PHP-7.0/ext/standard/tests/math/
H A Dbindec_error.phpt2 Test bindec() function : error conditions - incorrect input
5 /* Prototype : number bindec ( string $binary_string )
11 * Pass incorrect input to bindec() to test behaviour
14 echo "*** Testing bindec() : error conditions ***\n";
22 bindec();
23 bindec('01010101111',true);
26 bindec(new classA());
29 *** Testing bindec() : error conditions ***
32 Warning: bindec() expects exactly 1 parameter, 0 given in %s on line %d
34 Warning: bindec() expects exactly 1 parameter, 2 given in %s on line %d
H A Dbindec_variation1.phpt2 Test bindec() function : usage variations - different data types as $binary_string arg
9 /* Prototype : number bindec ( string $binary_string )
14 echo "*** Testing bindec() : usage variations ***\n";
72 // loop through each element of $inputs to check the behaviour of bindec()
76 var_dump(bindec($input));
83 *** Testing bindec() : usage variations ***
H A Dbindec_variation1_64bit.phpt2 Test bindec() function : usage variations - different data types as $binary_string arg
9 /* Prototype : number bindec ( string $binary_string )
14 echo "*** Testing bindec() : usage variations ***\n";
72 // loop through each element of $inputs to check the behaviour of bindec()
76 var_dump(bindec($input));
83 *** Testing bindec() : usage variations ***
H A Dbindec_basic.phpt2 Test bindec() - basic function test bindec()
32 $res = bindec($values[$i]);
H A Dbindec_basic_64bit.phpt2 Test bindec() - basic function test bindec()
32 $res = bindec($values[$i]);
H A Dbindec_basiclong_64bit.phpt2 Test bindec function : 64bit long tests
29 var_dump(bindec($strVal));
/PHP-7.0/ext/standard/
H A Dphp_math.h62 PHP_FUNCTION(bindec);
H A Dmath.c988 PHP_FUNCTION(bindec) in PHP_FUNCTION() argument
H A Dbasic_functions.c2915 PHP_FE(bindec, arginfo_bindec)

Completed in 31 milliseconds