Searched refs:ord (Results 1 – 25 of 31) sorted by last modified time
12
/PHP-5.4/win32/build/ |
H A D | mkdist.php | 172 $checksum += ord($hdr_data{$i}); 176 $checksum += ord($hdr_data{$i});
|
/PHP-5.4/ |
H A D | run-tests.php | 2706 return sprintf('[[0x%02x]]', ord($c[0]));
|
/PHP-5.4/ext/standard/tests/strings/ |
H A D | strncasecmp_variation6.phpt | 20 …$str2 = decbin( ord( chr($ASCII) ) ); //Getting equivelent ASCII value for the character in binar… 29 $str2 = decbin( ord( chr(256) ));
|
H A D | strncmp_variation6.phpt | 20 …$str2 = decbin( ord( chr($ASCII) ) ); //Getting equivelent ASCII value for the character in binar… 30 $str2 = decbin( ord( chr(256) ));
|
H A D | ord_basic.phpt | 13 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 D | ord_error.phpt | 2 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 D | ord_variation1.phpt | 2 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 D | htmlentities_html5.phpt | 1302 ⩝ U+02A5D
|
H A D | get_html_translation_table_basic5.phpt | 1184 [⩝] => ⩝
|
H A D | get_html_translation_table_basic6.phpt | 6 function so($a,$b) { return ord($a) - ord($b); }
|
H A D | htmlentities-utf-3.phpt | 22 $b = ord($seq[0]); 29 if (ord($seq[$n]) < $l[$n][0] || ord($seq[$n]) > $l[$n][1]) {
|
H A D | explode.phpt | 22 var_dump(@explode("==", str_repeat("-=".ord(0)."=-", 10))); 23 var_dump(@explode("=", str_repeat("-=".ord(0)."=-", 10)));
|
H A D | chr_ord.phpt | 2 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 D | string.c | 2646 PHP_FUNCTION(ord) argument
|
H A D | php_string.h | 71 PHP_FUNCTION(ord);
|
H A D | basic_functions.c | 2800 PHP_FE(ord, arginfo_ord)
|
/PHP-5.4/ext/standard/html_tables/ |
H A D | ents_html5.txt | 1575 ord 02A5D
|
H A D | html_table_gen.php | 731 $hash = (int)(((int)(((int)($hash << 5)) + $hash)) + ord($str[$pos++]))
|
/PHP-5.4/ext/phar/tests/tar/files/ |
H A D | corrupt_tarmaker.php.inc | 110 function _pear2tarchecksum($a, $b) {return $a + ord($b);} 112 $checksum = 256; // 8 * ord(' ');
|
H A D | make.dangerous.tar.php.inc | 104 function _pear2tarchecksum($a, $b) {return $a + ord($b);} 106 $checksum = 256; // 8 * ord(' ');
|
H A D | tarmaker.php.inc | 103 function _pear2tarchecksum($a, $b) {return $a + ord($b);} 105 $checksum = 256; // 8 * ord(' ');
|
/PHP-5.4/ext/mysqli/tests/ |
H A D | mysqli_character_set.phpt | 72 $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 D | bug52981.phpt | 11 for ($i = 0; $i < $len; ++$i) echo dechex(ord($upper[$i])) . ' ';
|
/PHP-5.4/ext/iconv/tests/ |
H A D | iconv_substr.phpt | 12 printf("%02x", ord($str[$i]));
|
H A D | eucjp2iso2022jp.phpt | 15 printf("%02x", ord($str{$i}));
|
Completed in 68 milliseconds
12