Home
last modified time | relevance | path

Searched refs:ord (Results 1 – 25 of 31) sorted by last modified time

12

/PHP-5.4/win32/build/
H A Dmkdist.php172 $checksum += ord($hdr_data{$i});
176 $checksum += ord($hdr_data{$i});
/PHP-5.4/
H A Drun-tests.php2706 return sprintf('[[0x%02x]]', ord($c[0]));
/PHP-5.4/ext/standard/tests/strings/
H A Dstrncasecmp_variation6.phpt20 …$str2 = decbin( ord( chr($ASCII) ) ); //Getting equivelent ASCII value for the character in binar…
29 $str2 = decbin( ord( chr(256) ));
H A Dstrncmp_variation6.phpt20 …$str2 = decbin( ord( chr($ASCII) ) ); //Getting equivelent ASCII value for the character in binar…
30 $str2 = decbin( ord( chr(256) ));
H A Dord_basic.phpt13 var_dump(ord("a"));
14 var_dump(ord("z"));
15 var_dump(ord("0"));
16 var_dump(ord("9"));
17 var_dump(ord("!"));
18 var_dump(ord("*"));
19 var_dump(ord("@"));
20 var_dump(ord("\n"));
21 var_dump(ord("\x0A"));
22 var_dump(ord("\xFF"));
[all …]
H A Dord_error.phpt2 Test ord() function : error conditions
6 /* Prototype : int ord ( string $string )
11 echo "*** Testing ord() : error conditions ***\n";
13 echo "\n-- Testing ord() function with no arguments --\n";
14 var_dump( ord() );
18 var_dump( ord(72, $extra_arg) );
23 *** Testing ord() : error conditions ***
25 -- Testing ord() function with no arguments --
27 Warning: ord() expects exactly 1 parameter, 0 given in %s on line %d
30 -- Testing ord() function with more than expected no. of arguments --
[all …]
H A Dord_variation1.phpt2 Test ord() function : usage variations - test values for $string argument
6 /* Prototype : int ord ( string $string )
11 echo "*** Testing ord() function: with unexpected inputs for 'string' argument ***\n";
70 // loop through with each element of the $string array to test ord() function
74 var_dump( ord($input) );
83 *** Testing ord() function: with unexpected inputs for 'string' argument ***
104 Warning: ord() expects parameter 1 to be string, array given in %s on line %d
108 Warning: ord() expects parameter 1 to be string, array given in %s on line %d
112 Warning: ord() expects parameter 1 to be string, array given in %s on line %d
130 Warning: ord() expects parameter 1 to be string, resource given in %s on line %d
H A Dhtmlentities_html5.phpt1302 ⩝ U+02A5D
H A Dget_html_translation_table_basic5.phpt1184 [⩝] => ⩝
H A Dget_html_translation_table_basic6.phpt6 function so($a,$b) { return ord($a) - ord($b); }
H A Dhtmlentities-utf-3.phpt22 $b = ord($seq[0]);
29 if (ord($seq[$n]) < $l[$n][0] || ord($seq[$n]) > $l[$n][1]) {
H A Dexplode.phpt22 var_dump(@explode("==", str_repeat("-=".ord(0)."=-", 10)));
23 var_dump(@explode("=", str_repeat("-=".ord(0)."=-", 10)));
H A Dchr_ord.phpt2 Test chr() and ord() functions
8 Prototype: int ord ( string $string );
12 for($i=0; $i<256; $i++) echo !ord(chr($i)) == $i;
44 echo "\n*** Testing ord() usage variations ***\n";
48 var_dump( ord($var) );
60 echo "\n*** Testing ord() error conditions ***\n";
62 var_dump( ord() );
64 var_dump( ord($arr_test[0], $arr_test[1]) );
69 *** Testing ord() & chr() basic operations ***
111 *** Testing ord() usage variations ***
[all …]
/PHP-5.4/ext/standard/
H A Dstring.c2646 PHP_FUNCTION(ord) argument
H A Dphp_string.h71 PHP_FUNCTION(ord);
H A Dbasic_functions.c2800 PHP_FE(ord, arginfo_ord)
/PHP-5.4/ext/standard/html_tables/
H A Dents_html5.txt1575 ord 02A5D
H A Dhtml_table_gen.php731 $hash = (int)(((int)(((int)($hash << 5)) + $hash)) + ord($str[$pos++]))
/PHP-5.4/ext/phar/tests/tar/files/
H A Dcorrupt_tarmaker.php.inc110 function _pear2tarchecksum($a, $b) {return $a + ord($b);}
112 $checksum = 256; // 8 * ord(' ');
H A Dmake.dangerous.tar.php.inc104 function _pear2tarchecksum($a, $b) {return $a + ord($b);}
106 $checksum = 256; // 8 * ord(' ');
H A Dtarmaker.php.inc103 function _pear2tarchecksum($a, $b) {return $a + ord($b);}
105 $checksum = 256; // 8 * ord(' ');
/PHP-5.4/ext/mysqli/tests/
H A Dmysqli_character_set.phpt72 $i, mysqli_real_escape_string($link, chr(ord("a") + $i)))))
93 if ($tmp['label'] != chr(ord("a") + $i))
95 chr(ord("a") + $i), $tmp['label'],
/PHP-5.4/ext/mbstring/tests/
H A Dbug52981.phpt11 for ($i = 0; $i < $len; ++$i) echo dechex(ord($upper[$i])) . ' ';
/PHP-5.4/ext/iconv/tests/
H A Diconv_substr.phpt12 printf("%02x", ord($str[$i]));
H A Deucjp2iso2022jp.phpt15 printf("%02x", ord($str{$i}));

Completed in 68 milliseconds

12