Home
last modified time | relevance | path

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

/PHP-8.1/ext/standard/tests/math/
H A Dbindec_variation2.phpt2 Test bindec() function : strange literals
6 var_dump(bindec('0b'));
7 var_dump(bindec('0B'));
8 var_dump(bindec(''));
H A Dbindec_variation1.phpt2 Test bindec() function : usage variations - different data types as $binary_string arg
9 echo "*** Testing bindec() : usage variations ***\n";
54 // loop through each element of $inputs to check the behaviour of bindec()
59 var_dump(bindec($input));
68 *** Testing bindec() : usage variations ***
130 bindec(): Argument #1 ($binary_string) must be of type string, array given
148 bindec(): Argument #1 ($binary_string) must be of type string, resource given
H A Dbindec_variation1_64bit.phpt2 Test bindec() function : usage variations - different data types as $binary_string arg
9 echo "*** Testing bindec() : usage variations ***\n";
54 // loop through each element of $inputs to check the behaviour of bindec()
59 var_dump(bindec($input));
68 *** Testing bindec() : usage variations ***
130 bindec(): Argument #1 ($binary_string) must be of type string, array given
148 bindec(): Argument #1 ($binary_string) must be of type string, resource given
H A Dbindec_basiclong_64bit.phpt2 Test bindec function : 64bit long tests
29 var_dump(bindec($strVal));
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]);
/PHP-8.1/ext/standard/
H A Dmath.c896 PHP_FUNCTION(bindec) in PHP_FUNCTION() argument
H A Dbasic_functions.stub.php1443 function bindec(string $binary_string): int|float {} function
H A Dbasic_functions_arginfo.h2692 ZEND_FUNCTION(bindec);
3335 ZEND_FE(bindec, arginfo_bindec)

Completed in 33 milliseconds