Home
last modified time | relevance | path

Searched refs:decbin (Results 1 – 15 of 15) sorted by path

/php-src/ext/gd/tests/
H A Dbug79615.phpt15 echo decbin(ord(ob_get_clean()[0xA]));
/php-src/ext/mysqli/tests/
H A Dmysqli_fetch_assoc_bit.phpt68 $bin = ($bits < 32) ? decbin($value) : dec32bin($value, $bits);
H A Dmysqli_stmt_bind_result_bit.phpt89 $bin = ($bits < 32) ? decbin($value) : dec32bin($value, $bits);
H A Dmysqli_stmt_fetch_bit.phpt38 … $sql = sprintf("INSERT INTO test(id, label) VALUES (%d, b'%s')", $value, decbin($value));
H A Dmysqli_stmt_get_result_bit.phpt74 $bin = ($bits < 32) ? decbin($value) : dec32bin($value, $bits);
/php-src/ext/standard/
H A Dbasic_functions.stub.php3240 function decbin(int $num): string {}
H A Dbasic_functions_arginfo.h2785 ZEND_FUNCTION(decbin);
H A Dmath.c981 PHP_FUNCTION(decbin) in PHP_FUNCTION() argument
/php-src/ext/standard/tests/math/
H A Ddecbin_basic.phpt2 Test decbin() - basic function test
21 var_dump(decbin($value));
46 decbin(): Argument #1 ($num) must be of type int, string given
H A Ddecbin_basiclong_64bit.phpt2 Test decbin function : 64bit long tests
25 var_dump(decbin($longVal));
58 decbin(): Argument #1 ($num) must be of type int, float given
H A Ddecbin_variation1.phpt2 Test decbin() function : usage variations - different data types as $num arg
11 echo "*** Testing decbin() : usage variations ***\n";
36 // loop through each element of $inputs to check the behaviour of decbin()
41 var_dump(decbin($input));
49 *** Testing decbin() : usage variations ***
64 decbin(): Argument #1 ($num) must be of type int, float given
67 decbin(): Argument #1 ($num) must be of type int, float given
70 decbin(): Argument #1 ($num) must be of type int, float given
85 decbin(): Argument #1 ($num) must be of type int, string given
88 decbin(): Argument #1 ($num) must be of type int, string given
H A Ddecbin_variation1_64bit.phpt2 Test decbin() function : usage variations - different data types as $number arg
11 echo "*** Testing decbin() : usage variations ***\n";
36 // loop through each element of $inputs to check the behaviour of decbin()
41 var_dump(decbin($input));
49 *** Testing decbin() : usage variations ***
64 decbin(): Argument #1 ($num) must be of type int, float given
67 decbin(): Argument #1 ($num) must be of type int, float given
85 decbin(): Argument #1 ($num) must be of type int, string given
88 decbin(): Argument #1 ($num) must be of type int, string given
/php-src/ext/standard/tests/strings/
H A Dhtmlspecialchars_decode_variation6.phpt15 "This converts\t decimal to \$string".decbin(65)."Hello world",
H A Dstrip_tags_variation6.phpt16 "<html>I am html string</html>".decbin(65)."<?php I am php string?>"
H A Dstrncasecmp_variation6.phpt14 $str1 = decbin($ASCII); //ASCII value in binary form
15 …$str2 = decbin( ord( chr($ASCII) ) ); //Getting equivalent ASCII value for the character in binar…
23 $str1 = decbin(256);
24 $str2 = decbin( ord( chr(256) ));

Completed in 53 milliseconds