/php-src/ext/openssl/tests/ |
H A D | bug77390.phpt | 93 if ($data !== '' && $data[0] === chr(23)) {
|
/php-src/ext/standard/tests/strings/ |
H A D | strrev_variation2.phpt | 32 'Hello'.chr(0).'World',
|
H A D | str_split_variation4.phpt | 25 'with \0 and ".chr(0)."null chars', //for binary safe
|
H A D | strstr.phpt | 11 var_dump( md5(strstr("te".chr(0)."st", chr(0))) );
|
H A D | strcspn_variation12.phpt | 21 chr(0).chr(0), 22 chr(0)."hello\0world".chr(0), 23 "hello".chr(0)."world",
|
H A D | sprintf_f_2.phpt | 43 var_dump(sprintf("%%c = '%c'", $c)); // print the ascii character, same as chr() function
|
H A D | strncasecmp_variation6.phpt | 15 …$str2 = decbin( ord( chr($ASCII) ) ); //Getting equivalent ASCII value for the character in binar… 24 $str2 = decbin( ord( chr(256) ));
|
H A D | strpos.phpt | 13 var_dump( strpos("te".chr(0)."st", chr(0)) );
|
/php-src/ext/date/tests/ |
H A D | gh10747-4.phpt | 26 var_dump($i, str_replace(chr(0), '!', $s), $u);
|
/php-src/ext/mysqli/tests/ |
H A D | mysqli_real_escape_string_big5.phpt | 57 . chr(0) . "���H�U���e")))
|
H A D | mysqli_fetch_array_many_rows.phpt | 17 $id, mysqli_real_escape_string($link, chr(65 + ($id % 26)))))) {
|
H A D | mysqli_stmt_bind_param.phpt | 195 $ret .= chr(mt_rand(65, 90)); 301 func_mysqli_stmt_bind_datatype($link, $engine, "s", "BINARY(1)", chr(0), 650); 306 func_mysqli_stmt_bind_datatype($link, $engine, "s", "VARBINARY(1)", chr(0), 690); 311 func_mysqli_stmt_bind_datatype($link, $engine, "s", "TINYBLOB", chr(0), 730);
|
/php-src/ext/mbstring/tests/ |
H A D | utf_encodings.phpt | 980 testValidString(chr($byte), "\x00\x00\x00" . chr($byte), 'UTF-7', 'UTF-32BE'); 982 testValidString(chr($byte), "\x00\x00\x00" . chr($byte), 'UTF-7', 'UTF-32BE'); 984 testValidString(chr($byte), "\x00\x00\x00" . chr($byte), 'UTF-7', 'UTF-32BE'); 1011 if (strpos("'(),-./:?\x00 \t\r\n", chr($i)) !== false) 1014 …testValidString('+' . encode("\x00" . chr($i), 'UTF-16BE') . '-', "\x00\x00\x00" . chr($i), 'UTF-7… 1099 $corrupted = substr($encoded, 0, 2) . chr(ord($encoded[2]) + 1);
|
H A D | utf8_mobile_encodings.phpt | 64 return chr($value); 68 return chr($value >> 16) . pack('n', $value & 0xFFFF);
|
H A D | gb18030_encoding.phpt | 271 return chr($byte4) . chr($byte3) . chr($byte2) . chr($byte1);
|
H A D | sjis2004_encoding.phpt | 25 $sjis = ($bytes < 256) ? chr($bytes) : pack('n', $bytes);
|
H A D | mb_substr_count.phpt | 32 var_dump(mb_substr_count("", chr(0)));
|
H A D | cp932_encoding.phpt | 26 $cp932 = chr($i) . chr($j);
|
H A D | mb_detect_encoding.phpt | 142 $str = chr(239).chr(187).chr(191).chr(195).chr(180); // UTF-8 BOM followed by ô
|
/php-src/ext/filter/tests/ |
H A D | 043.phpt | 10 var_dump(filter_var(chr($i), FILTER_UNSAFE_RAW, array("flags" => $flags)));
|
/php-src/Zend/tests/float_to_int/ |
H A D | warnings_string_float_literals.phpt | 36 var_dump(chr('60.5'));
|
H A D | warnings_string_float_vars.phpt | 55 var_dump(chr($cp));
|
H A D | warnings_float_literals.phpt | 53 var_dump(chr(60.5));
|
/php-src/ext/ctype/tests/ |
H A D | ctype_alnum_variation2.phpt | 17 if (ctype_alnum(chr($i))) {
|
/php-src/ext/random/tests/03_randomizer/methods/ |
H A D | getBytesFromString_fast_path.phpt | 13 fn ($byte) => chr($byte),
|