Home
last modified time | relevance | path

Searched refs:chr (Results 51 – 75 of 202) sorted by relevance

123456789

/PHP-7.4/ext/standard/tests/strings/
H A Dstrpos.phpt17 var_dump( strpos("te".chr(0)."st", chr(0)) );
181 $str = chr(0).chr(128).chr(129).chr(234).chr(235).chr(254).chr(255);
183 echo chr(128)." => ";
184 var_dump( strpos($str, chr(128)) );
185 echo chr(255)." => ";
186 var_dump( strpos($str, chr(255), 3) );
187 echo chr(256)." => ";
188 var_dump( strpos($str, chr(256)) );
231 …ring needles will be interpreted as strings in the future. Use an explicit chr() call to preserve …
235 …ring needles will be interpreted as strings in the future. Use an explicit chr() call to preserve …
[all …]
H A Dstrrchr.phpt10 var_dump(strrchr("test ".chr(0)." test", " "));
11 var_dump(strrchr("test".chr(0)."string", "t"));
H A Dstrrpos_variation13.phpt18 "Hello".chr(0)."World",
19 chr(0)."Hello\0",
20 chr(0),
H A Dstripos_variation2.phpt123 …ring needles will be interpreted as strings in the future. Use an explicit chr() call to preserve …
126 …ring needles will be interpreted as strings in the future. Use an explicit chr() call to preserve …
130 …ring needles will be interpreted as strings in the future. Use an explicit chr() call to preserve …
133 …ring needles will be interpreted as strings in the future. Use an explicit chr() call to preserve …
137 …ring needles will be interpreted as strings in the future. Use an explicit chr() call to preserve …
140 …ring needles will be interpreted as strings in the future. Use an explicit chr() call to preserve …
144 …ring needles will be interpreted as strings in the future. Use an explicit chr() call to preserve …
147 …ring needles will be interpreted as strings in the future. Use an explicit chr() call to preserve …
238 …ring needles will be interpreted as strings in the future. Use an explicit chr() call to preserve …
241 …ring needles will be interpreted as strings in the future. Use an explicit chr() call to preserve …
H A Dstripos_variation1.phpt121 …ring needles will be interpreted as strings in the future. Use an explicit chr() call to preserve …
124 …ring needles will be interpreted as strings in the future. Use an explicit chr() call to preserve …
128 …ring needles will be interpreted as strings in the future. Use an explicit chr() call to preserve …
131 …ring needles will be interpreted as strings in the future. Use an explicit chr() call to preserve …
135 …ring needles will be interpreted as strings in the future. Use an explicit chr() call to preserve …
138 …ring needles will be interpreted as strings in the future. Use an explicit chr() call to preserve …
142 …ring needles will be interpreted as strings in the future. Use an explicit chr() call to preserve …
145 …ring needles will be interpreted as strings in the future. Use an explicit chr() call to preserve …
H A Dstrstr.phpt16 var_dump( md5(strstr("te".chr(0)."st", chr(0))) );
154 $str = chr(0).chr(128).chr(129).chr(234).chr(235).chr(254).chr(255);
156 echo chr(128)." => ";
157 var_dump( strstr($str, chr(128)) );
158 echo chr(255)." => ";
159 var_dump( strstr($str, chr(255)) );
160 echo chr(256)." => ";
161 var_dump( strstr($str, chr(256)) );
H A Dstrrpos.phpt10 var_dump(strrpos("te".chr(0)."st", chr(0)));
H A Dstrpos_number.phpt13 …ring needles will be interpreted as strings in the future. Use an explicit chr() call to preserve …
16 …ring needles will be interpreted as strings in the future. Use an explicit chr() call to preserve …
H A Dstrripos.phpt10 var_dump(strripos("te".chr(0)."st", chr(0)));
/PHP-7.4/ext/mbstring/tests/
H A Dbug75944.phpt7 var_dump(mb_detect_encoding(chr(0xfe), array('CP-1251'))); // letter '?'
8 var_dump(mb_detect_encoding(chr(0xff), array('CP-1251'))); // letter '?'
/PHP-7.4/Zend/tests/
H A Dbug53305.phpt10 define('__COMPILER_HALT_OFFSET__1'.chr(0), 4);
13 var_dump(constant('__COMPILER_HALT_OFFSET__1'.chr(0)));
/PHP-7.4/ext/sodium/tests/
H A Dcrypto_auth.phpt24 $badmsg[0] = \chr(\ord($badmsg[0]) ^ 0x80);
29 $badmsg[$i=mt_rand(0, 999)] = \chr(
39 $badmac[0] = \chr(\ord($badmac[0]) ^ 0x80);
/PHP-7.4/ext/ctype/tests/
H A Dbug25745.phpt16 $b = $ctype_func(chr($i));
18 echo "broken... $ctype_func($i) = $a, $ctype_func(chr($i)) = $b\n";
/PHP-7.4/ext/standard/tests/file/
H A Ddisk_total_space_variation.phpt43 $file_path.$dir.chr(0),
44 $file_path."/.".$dir.chr(0),
45 ".".chr(0).$file_path.$dir,
46 ".".chr(0).$file_path.$dir.chr(0)
H A Ddisk_free_space_variation.phpt41 $file_path.$dir.chr(0),
42 $file_path."/.".$dir.chr(0),
43 ".".chr(0).$file_path.$dir,
44 ".".chr(0).$file_path.$dir.chr(0)
/PHP-7.4/ext/mysqli/tests/
H A Dmysqli_fetch_array_oo.phpt139 $ret .= chr(mt_rand(65, 90));
228 func_mysqli_fetch_array($mysqli, $engine, "BINARY(2)", chr(0) . "a", chr(0) . "a", 640);
233 func_mysqli_fetch_array($mysqli, $engine, "VARBINARY(2)", chr(0) . "a", chr(0) . "a", 680);
238 func_mysqli_fetch_array($mysqli, $engine, "TINYBLOB", chr(0) . "a", chr(0) . "a", 720);
247 func_mysqli_fetch_array($mysqli, $engine, "BLOB", chr(0) . "a", chr(0) . "a", 780);
251 func_mysqli_fetch_array($mysqli, $engine, "TEXT", chr(0) . "a", chr(0) . "a", 810);
255 func_mysqli_fetch_array($mysqli, $engine, "MEDIUMBLOB", chr(0) . "a", chr(0) . "a", 840);
259 func_mysqli_fetch_array($mysqli, $engine, "MEDIUMTEXT", chr(0) . "a", chr(0) . "a", 870);
263 func_mysqli_fetch_array($mysqli, $engine, "LONGTEXT", chr(0) . "a", chr(0) . "a", 900);
H A Dmysqli_fetch_all_oo.phpt166 $ret .= chr(mt_rand(65, 90));
255 func_mysqli_fetch_all_oo($link, $engine, "BINARY(2)", chr(0) . "a", chr(0) . "a", 640);
260 func_mysqli_fetch_all_oo($link, $engine, "VARBINARY(2)", chr(0) . "a", chr(0) . "a", 680);
265 func_mysqli_fetch_all_oo($link, $engine, "TINYBLOB", chr(0) . "a", chr(0) . "a", 720);
274 func_mysqli_fetch_all_oo($link, $engine, "BLOB", chr(0) . "a", chr(0) . "a", 780);
278 func_mysqli_fetch_all_oo($link, $engine, "TEXT", chr(0) . "a", chr(0) . "a", 810);
282 func_mysqli_fetch_all_oo($link, $engine, "MEDIUMBLOB", chr(0) . "a", chr(0) . "a", 840);
286 func_mysqli_fetch_all_oo($link, $engine, "MEDIUMTEXT", chr(0) . "a", chr(0) . "a", 870);
290 func_mysqli_fetch_all_oo($link, $engine, "LONGTEXT", chr(0) . "a", chr(0) . "a", 900);
H A Dmysqli_fetch_array.phpt152 $ret .= chr(mt_rand(65, 90));
244 … func_mysqli_fetch_array($link, $engine, "BINARY(2)", chr(0) . "a", chr(0) . "a", 640, null, true);
249 …func_mysqli_fetch_array($link, $engine, "VARBINARY(2)", chr(0) . "a", chr(0) . "a", 680, null, tru…
254 … func_mysqli_fetch_array($link, $engine, "TINYBLOB", chr(0) . "a", chr(0) . "a", 720, null, true);
263 func_mysqli_fetch_array($link, $engine, "BLOB", chr(0) . "a", chr(0) . "a", 780, null, true);
267 func_mysqli_fetch_array($link, $engine, "TEXT", chr(0) . "a", chr(0) . "a", 810);
271 …func_mysqli_fetch_array($link, $engine, "MEDIUMBLOB", chr(0) . "a", chr(0) . "a", 840, null, true);
275 func_mysqli_fetch_array($link, $engine, "MEDIUMTEXT", chr(0) . "a", chr(0) . "a", 870);
279 func_mysqli_fetch_array($link, $engine, "LONGTEXT", chr(0) . "a", chr(0) . "a", 900);
H A Dmysqli_fetch_all.phpt166 $ret .= chr(mt_rand(65, 90));
253 func_mysqli_fetch_all($link, $engine, "BINARY(2)", chr(0) . "a", chr(0) . "a", 640);
258 func_mysqli_fetch_all($link, $engine, "VARBINARY(2)", chr(0) . "a", chr(0) . "a", 680);
263 func_mysqli_fetch_all($link, $engine, "TINYBLOB", chr(0) . "a", chr(0) . "a", 720);
272 func_mysqli_fetch_all($link, $engine, "BLOB", chr(0) . "a", chr(0) . "a", 780);
276 func_mysqli_fetch_all($link, $engine, "TEXT", chr(0) . "a", chr(0) . "a", 810);
280 func_mysqli_fetch_all($link, $engine, "MEDIUMBLOB", chr(0) . "a", chr(0) . "a", 840);
284 func_mysqli_fetch_all($link, $engine, "MEDIUMTEXT", chr(0) . "a", chr(0) . "a", 870);
288 func_mysqli_fetch_all($link, $engine, "LONGTEXT", chr(0) . "a", chr(0) . "a", 900);
/PHP-7.4/ext/snmp/tests/
H A Dipv6.phpt9 $packed = str_repeat(chr(0), 15) . chr(1);
H A Dbug64124.phpt9 $packed = str_repeat(chr(0), 15) . chr(1);
/PHP-7.4/sapi/fpm/tests/
H A Dfcgi.inc305 return chr(self::VERSION_1) /* version */
306 . chr($type) /* type */
312 . chr(0) /* reserved */
329 $nvpair = chr($nlen);
332 $nvpair = chr(($nlen >> 24) | 0x80) . chr(($nlen >> 16) & 0xFF)
333 . chr(($nlen >> 8) & 0xFF) . chr($nlen & 0xFF);
337 $nvpair .= chr($vlen);
340 $nvpair .= chr(($vlen >> 24) | 0x80) . chr(($vlen >> 16) & 0xFF)
341 . chr(($vlen >> 8) & 0xFF) . chr($vlen & 0xFF);
516 chr(0) . chr(self::RESPONDER) . chr($keepAlive)
[all …]
/PHP-7.4/ext/odbc/tests/
H A Dbug71171.phpt16 odbc_exec($conn, "INSERT INTO FOO(ID, VARCHAR_COL) VALUES (1, '" . chr(0x81) . "')");
18 $res = odbc_exec($conn,"SELECT ID FROM FOO WHERE VARCHAR_COL = '" . chr(0x81) . "'");
/PHP-7.4/ext/standard/tests/array/
H A Darray_filter_variation9.phpt21 // using built-in function 'chr' as 'callback'
22 var_dump( array_filter($input, 'chr') );
49 Warning: chr() expects parameter 1 to be int, string given in %s on line %d
/PHP-7.4/ext/standard/tests/network/
H A Dinet_ipv6.phpt8 $packed = str_repeat(chr(0), 15) . chr(1);

Completed in 34 milliseconds

123456789