Home
last modified time | relevance | path

Searched refs:chr (Results 76 – 100 of 253) sorted by relevance

1234567891011

/php-src/ext/standard/tests/strings/
H A Dstrripos.phpt10 var_dump(strripos("te".chr(0)."st", chr(0)));
H A Dstrrpos.phpt10 var_dump(strrpos("te".chr(0)."st", chr(0)));
H A Dstrtok_variation5.phpt20 chr(0),
21 chr(0).chr(0),
22 chr(0).'hello'.chr(0),
23 'hello'.chr(0).'world'
H A Dstripslashes_variation2.phpt63 'hello'.chr(0).'world',
64 chr(0).'hello'.chr(0),
65 chr(0).chr(0).'hello',
66 chr(0),
70 "'\\0.0.0.0'".chr(0),
71 chr(0)."'c:\php\'",
73 '"c:\php\"'.chr(0)."'",
74 '"hello"'."'world'".chr(0).'//',
H A Dstripos.phpt10 var_dump(stripos("te".chr(0)."st", chr(0)));
H A Dbasename.phpt31 var_dump(basename("foo".chr(0)."bar"));
32 var_dump(basename("foo".chr(0)."bar.gz", ".gz"));
H A Dstrrev.phpt9 $str .= chr($i++);
H A Dbin2hex.phpt7 $s .= chr($i);
H A Dstrlen.phpt39 chr(128).chr(234).chr(65).chr(255).chr(256),
H A Dadd-and-stripslashes.phpt8 $input .= chr($i%256);
/php-src/ext/zip/tests/
H A Doo_add_encoding.phpt23 $zip->addEmptyDir(chr(0x82), ZipArchive::FL_ENC_CP437);
27 $zip->addFromString(chr(0x91), __FILE__, ZipArchive::FL_ENC_CP437);
/php-src/ext/snmp/tests/
H A Dbug64124.phpt11 $packed = str_repeat(chr(0), 15) . chr(1);
/php-src/ext/standard/tests/file/
H A Dbug26938.phpt12 . ' for($i=0;$i<$length;$i++) print chr(65+$i % 27);'
19 . ' for($i=0;$i<$length;$i++) print chr(65+$i % 27);'
H A Dis_readable_variation1.phpt36 "$file_path/is_readable_variation1".chr(0)."bar.tmp",
37 "$file_path".chr(0)."is_readable_variation1/bar.tmp",
38 "$file_path".chr(0)."is_readable_variation1/bar.tmp",
H A Dcopy_variation1.phpt28 chr(99).chr(111).chr(112).chr(121).chr(49).".tmp" //file name containing ASCII values
H A Dis_writable_variation1.phpt35 "$file_path/is_writable_variation1".chr(0)."bar.tmp",
36 "$file_path".chr(0)."is_writable_variation1/bar.tmp",
37 "$file_path".chr(0)."is_writable_variation1/bar.tmp",
H A Dbasename.phpt49 array("foo".chr(0)."bar"),
50 array("/foo".chr(0)."bar"),
51 array("/foo".chr(0)."bar/"),
52 array("foo".chr(0)."bar/"),
53 array("foo".chr(0)."bar/test"),
54 array("/foo".chr(0)."bar/bar.gz", ".gz"),
55 array("/foo".chr(0)."bar/bar.gz")
H A Dbug39863.phpt8 $filename = __FILE__ . chr(0). ".ridiculous";
/php-src/ext/mysqli/tests/functions/
H A Dmysqli_set_charset.phpt52 mysqli_real_escape_string($link, chr(ord("a") + $i))
65 if ($tmp['label'] != chr(ord("a") + $i))
67 chr(ord("a") + $i), $tmp['label'],
/php-src/sapi/fpm/tests/
H A Dfcgi.inc562 return chr(self::VERSION_1) /* version */
563 . chr($type) /* type */
569 . chr(0) /* reserved */
586 $nvpair = chr($nlen);
589 $nvpair = chr(($nlen >> 24) | 0x80) . chr(($nlen >> 16) & 0xFF)
590 . chr(($nlen >> 8) & 0xFF) . chr($nlen & 0xFF);
594 $nvpair .= chr($vlen);
597 $nvpair .= chr(($vlen >> 24) | 0x80) . chr(($vlen >> 16) & 0xFF)
598 . chr(($vlen >> 8) & 0xFF) . chr($vlen & 0xFF);
784 chr(0) . chr(self::RESPONDER) . chr($keepAlive)
[all …]
/php-src/ext/mbstring/tests/
H A Dhz_encoding.phpt17 testValidString(chr($i), chr($i), 'ASCII', 'HZ');
23 testValidString(chr($i), chr($i), 'HZ', 'ASCII');
28 testInvalidString(chr($i), '%', 'HZ', 'ASCII');
43 testInvalidString("~" . chr($i), '%', 'HZ', 'ASCII');
45 testInvalidString("~{~" . chr($i) . "~}", '%', 'HZ', 'ASCII');
104 unset($invalid["\x00" . chr($i)]);
H A Dencoding_tests.inc49 $char .= chr(hexdec($substr));
55 $char = chr($char); // hex codes must not have leading zero bytes
59 $char = chr($char >> 16) . pack('n', $char & 0xFFFF);
222 $str = $prefix . chr($byte);
241 $str = $prefix . chr($i);
248 $fixedLength($prefix . chr($i), $remaining - 1);
254 $fixedLength(chr($byte), $startBytes[$byte] - 1);
256 $str = chr($byte);
H A Dbug79371.phpt8 $str = implode(array_map("chr", $bytes));
/php-src/ext/mysqli/tests/
H A D065.phpt18 $esc_str = chr(0xbf) . chr(0x5c);
/php-src/ext/standard/tests/array/
H A Darray_filter_variation9.phpt16 // using built-in function 'chr' as 'callback'
17 var_dump( array_filter($input, 'chr') );

Completed in 28 milliseconds

1234567891011