Home
last modified time | relevance | path

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

/PHP-8.1/ext/standard/tests/math/
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
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_basic.phpt2 Test decbin() - basic function test
21 var_dump(decbin($value));
46 decbin(): Argument #1 ($num) must be of type int, string given
/PHP-8.1/ext/gd/tests/
H A Dbug79615.phpt15 echo decbin(ord(ob_get_clean()[0xA]));
/PHP-8.1/ext/standard/tests/strings/
H A Dstrip_tags_variation6.phpt16 "<html>I am html string</html>".decbin(65)."<?php I am php string?>"
H A Dhtmlspecialchars_decode_variation6.phpt15 "This converts\t decimal to \$string".decbin(65)."Hello world",
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) ));
/PHP-8.1/ext/mysqli/tests/
H A Dmysqli_stmt_fetch_bit.phpt36 … $sql = sprintf("INSERT INTO test(id, label) VALUES (%d, b'%s')", $value, decbin($value));
H A Dmysqli_fetch_assoc_bit.phpt69 $bin = ($bits < 32) ? decbin($value) : dec32bin($value, $bits);
H A Dmysqli_stmt_get_result_bit.phpt75 $bin = ($bits < 32) ? decbin($value) : dec32bin($value, $bits);
H A Dmysqli_stmt_bind_result_bit.phpt89 $bin = ($bits < 32) ? decbin($value) : dec32bin($value, $bits);
/PHP-8.1/ext/standard/
H A Dmath.c935 PHP_FUNCTION(decbin) in PHP_FUNCTION() argument
H A Dbasic_functions.stub.php1450 function decbin(int $num): string {} function
H A Dbasic_functions_arginfo.h2695 ZEND_FUNCTION(decbin);
3338 ZEND_FE(decbin, arginfo_decbin)

Completed in 40 milliseconds