Home
last modified time | relevance | path

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

/PHP-8.0/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";
85 var_dump(decbin($input));
94 *** Testing decbin() : usage variations ***
109 decbin(): Argument #1 ($num) must be of type int, float given
112 decbin(): Argument #1 ($num) must be of type int, float given
121 decbin(): Argument #1 ($num) must be of type int, float given
148 decbin(): Argument #1 ($num) must be of type int, string given
151 decbin(): Argument #1 ($num) must be of type int, string given
154 decbin(): Argument #1 ($num) must be of type int, array given
[all …]
H A Ddecbin_variation1_64bit.phpt11 echo "*** Testing decbin() : usage variations ***\n";
84 var_dump(decbin($input));
92 *** Testing decbin() : usage variations ***
107 decbin(): Argument #1 ($num) must be of type int, float given
110 decbin(): Argument #1 ($num) must be of type int, float given
146 decbin(): Argument #1 ($num) must be of type int, string given
149 decbin(): Argument #1 ($num) must be of type int, string given
152 decbin(): Argument #1 ($num) must be of type int, array given
155 decbin(): Argument #1 ($num) must be of type int, string given
158 decbin(): Argument #1 ($num) must be of type int, string given
[all …]
H A Ddecbin_basic.phpt2 Test decbin() - basic function test
22 var_dump(decbin($value));
39 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
/PHP-8.0/ext/gd/tests/
H A Dbug79615.phpt17 echo decbin(ord(ob_get_clean()[0xA]));
/PHP-8.0/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.0/ext/mysqli/tests/
H A Dmysqli_stmt_fetch_bit.phpt35 … $sql = sprintf("INSERT INTO test(id, label) VALUES (%d, b'%s')", $value, decbin($value));
H A Dmysqli_fetch_assoc_bit.phpt68 $bin = ($bits < 32) ? decbin($value) : dec32bin($value, $bits);
H A Dmysqli_stmt_get_result_bit.phpt74 $bin = ($bits < 32) ? decbin($value) : dec32bin($value, $bits);
H A Dmysqli_stmt_bind_result_bit.phpt88 $bin = ($bits < 32) ? decbin($value) : dec32bin($value, $bits);
/PHP-8.0/ext/standard/
H A Dmath.c939 PHP_FUNCTION(decbin) in PHP_FUNCTION() argument
H A Dbasic_functions.stub.php1101 function decbin(int $num): string {} function
H A Dbasic_functions_arginfo.h2683 ZEND_FUNCTION(decbin);
3323 ZEND_FE(decbin, arginfo_decbin)

Completed in 47 milliseconds