/PHP-8.4/ext/standard/tests/strings/ |
H A D | str_replace_variation2.phpt | 15 ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"; 51 chr(128).chr(234).chr(65).chr(255).chr(256), 70 ?FOUND chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)" 77 ?FOUND chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)" 84 ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)" 91 ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)" 98 ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)" 105 ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)" 112 ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)" 119 ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)" [all …]
|
H A D | strpos_variation1.phpt | 5 $string = chr(0).chr(128).chr(129).chr(234).chr(235).chr(254).chr(255); 8 echo bin2hex( chr(128) ) ." => "; 9 var_dump( strpos($string, chr(128)) ); 10 echo bin2hex( chr(255) ) ." => "; 11 var_dump( strpos($string, chr(255), 3) ); 12 echo bin2hex( chr(256) ) ." => "; 13 var_dump( strpos($string, chr(256)) );
|
H A D | strstr_variation1.phpt | 5 $string = chr(0).chr(128).chr(129).chr(234).chr(235).chr(254).chr(255); 8 echo bin2hex( chr(128) ) ." => "; 9 var_dump( bin2hex( strstr($string, chr(128) ) ) ); 10 echo bin2hex( chr(255) ) ." => "; 11 var_dump( bin2hex( strstr($string, chr(255) ) ) ); 12 echo bin2hex( chr(256) ) ." => "; 13 var_dump( bin2hex( strstr($string, chr(256) ) ) );
|
H A D | chr_basic.phpt | 2 Test chr() function : basic functionality 6 echo "*** Testing chr() : basic functionality ***\n"; 8 echo chr(72). chr(101) . chr(108) . chr(108). chr(111); // Hello 9 echo chr(10); // "\n" 14 *** Testing chr() : basic functionality ***
|
H A D | chr_error.phpt | 2 Test chr() function : error conditions 6 echo "*** Testing chr() : error conditions ***\n"; 8 echo "\n-- Testing chr() function with no arguments --\n"; 10 var_dump( chr() ); 15 echo "\n-- Testing chr() function with more than expected no. of arguments --\n"; 18 var_dump( chr(72, $extra_arg) ); 25 *** Testing chr() : error conditions *** 27 -- Testing chr() function with no arguments -- 28 chr() expects exactly 1 argument, 0 given 30 -- Testing chr() function with more than expected no. of arguments -- [all …]
|
H A D | str_repeat_variation1.phpt | 7 $str = chr(0).chr(128).chr(129).chr(234).chr(235).chr(254).chr(255); 9 $withCodePoint = str_repeat($str, chr(51)); // ASCII value of '3' given
|
H A D | substr_count_variation_002.phpt | 8 $str = chr(128).chr(129).chr(128).chr(256).chr(255).chr(254).chr(255); 9 var_dump(substr_count($str, chr(128))); 10 var_dump(substr_count($str, chr(255))); 11 var_dump(substr_count($str, chr(256)));
|
H A D | substr_count_variation_001.phpt | 17 $str = chr(128).chr(129).chr(128).chr(256).chr(255).chr(254).chr(255); 18 var_dump(substr_count($str, chr(128))); 19 var_dump(substr_count($str, chr(255))); 20 var_dump(substr_count($str, chr(256)));
|
H A D | htmlentities-utf-3.phpt | 47 $s = chr($b1).chr($b2); 56 $s = chr($b1).chr($b2)."\x80"; 59 $s = chr($b1).chr($b2)."\xBF"; 67 $s = chr($b1).chr($b2)."\x80\x80"; 70 $s = chr($b1).chr($b2)."\xBF\x80"; 73 $s = chr($b1).chr($b2)."\x80\xBF"; 76 $s = chr($b1).chr($b2)."\xBF\xBF";
|
H A D | stripos_variation12.phpt | 11 "Hello".chr(0)."World", 12 chr(0)."Hello World", 13 "Hello World".chr(0), 14 chr(0).chr(0).chr(0),
|
H A D | strrchr_variation12.phpt | 9 "Hello".chr(0)."World", 10 chr(0)."Hello World", 11 "Hello World".chr(0), 12 chr(0).chr(0).chr(0),
|
H A D | strrpos_variation12.phpt | 11 "Hello".chr(0)."World", 12 chr(0)."Hello World", 13 "Hello World".chr(0), 14 chr(0).chr(0).chr(0),
|
H A D | bug39032.phpt | 6 var_dump(strcspn(chr(0),"x")); 7 var_dump(strcspn(chr(0),"")); 8 var_dump(strcspn(chr(0),"qweqwe")); 9 var_dump(strcspn(chr(1),"qweqwe"));
|
H A D | stripos_variation13.phpt | 13 "Hello".chr(0)."World", 14 chr(0)."Hello World", 15 "Hello World".chr(0), 16 chr(0).chr(0).chr(0),
|
H A D | explode.phpt | 12 echo var_export(explode("\1", "a". chr(1). "b". chr(0). "d" . chr(1) . "f" . chr(1). "1" . chr(1) .… 14 echo md5(var_export(explode("\1", "a". chr(1). "b". chr(0). "d" . chr(1) . "f" . chr(1). "1" . chr(…
|
H A D | addslashes_variation2.phpt | 50 'hello'.chr(0).'world', 51 chr(0).'hello'.chr(0), 52 chr(0).chr(0).'hello', 53 chr(0), 57 "'\\0.0.0.0'".chr(0), 58 chr(0)."'c:\php\'", 60 '"c:\php\"'.chr(0)."'", 61 '"hello"'."'world'".chr(0).'//',
|
/PHP-8.4/Zend/tests/ |
H A D | bug70124.phpt | 7 echo base_convert([array_search(chr(48),chr(48),chr(48),chr(48),chr(48),$f("test"))],chr(48)); 16 echo base_convert([array_search(chr(48),chr(48),chr(48),chr(48),chr(48),a::y("test"))],chr(48)); 24 … echo base_convert([array_search(chr(48),chr(48),chr(48),chr(48),chr(48),$a->y("test"))],chr(48)); 30 … echo base_convert([array_search(chr(48),chr(48),chr(48),chr(48),chr(48),\bar\y("test"))],chr(48)); 36 echo base_convert([array_search(chr(48),chr(48),chr(48),chr(48),chr(48),y("test"))],chr(48));
|
/PHP-8.4/ext/standard/tests/math/ |
H A D | bug30695.phpt | 14 $char = chr( 0 ); 17 $char = chr( $char_code ); 20 $char = ( chr(0xc0 | (($char_code >> 6) & 0x1f)) . 21 chr(0x80 | ($char_code & 0x3f)) ); 24 $char = ( chr(0xe0 | (($char_code >> 12) & 0x0f)) . 25 chr(0x80 | (($char_code >> 6) & 0x3f)) . 26 chr(0x80 | ($char_code & 0x3f)) ); 31 chr(0x80 | (($char_code >> 6) & 0x3f)) . 32 chr(0x80 | ($char_code & 0x3f)) ); 39 chr(0x80 | ($char_code & 0x3f)) ); [all …]
|
/PHP-8.4/ext/fileinfo/ |
H A D | create_data_file.php | 12 $map[chr($i)] = sprintf('\%03o', $i); 16 $map[chr(0)] = '\0'; 20 $map[chr($i)] = chr($i); 25 $map[chr(0).chr($i)] = '\000'.chr($i); 40 $chunks[count($chunks) - 1] = str_pad($chunks[count($chunks) - 1], CHUNK_SIZE, chr(0));
|
/PHP-8.4/ext/pcre/tests/ |
H A D | request47456.phpt | 8 preg_match_all('/(?J)(?<chr>[ac])(?<num>\d)|(?<chr>[b])/', 'a1bc3', $m, PREG_SET_ORDER); 12 preg_match_all('/(?<chr>[ac])(?<num>\d)|(?<chr>[b])/J', 'a1bc3', $m, PREG_SET_ORDER); 21 ["chr"]=> 34 ["chr"]=> 49 ["chr"]=> 64 ["chr"]=> 77 ["chr"]=> 92 ["chr"]=>
|
/PHP-8.4/ext/standard/tests/network/ |
H A D | inet.phpt | 6 $packed = chr(127) . chr(0) . chr(0) . chr(1); 9 $packed = chr(255) . chr(255) . chr(255) . chr(0);
|
/PHP-8.4/ext/gd/tests/ |
H A D | createfromwbmp2.phpt | 19 fputs($fp, chr($c), 1); 24 fputs($fp, chr($c), 1); 26 fputs($fp, chr($c), 1); 27 fputs($fp, chr($c), 1); 28 fputs($fp, chr($c), 1); 30 fputs($fp, chr($c), 1); 34 fputs($fp, chr($c), 1); 38 fwrite($fp, chr($c), 1);
|
H A D | createfromwbmp2_extern.phpt | 19 fputs($fp, chr($c), 1); 24 fputs($fp, chr($c), 1); 26 fputs($fp, chr($c), 1); 27 fputs($fp, chr($c), 1); 28 fputs($fp, chr($c), 1); 30 fputs($fp, chr($c), 1); 34 fputs($fp, chr($c), 1); 38 fwrite($fp, chr($c), 1);
|
/PHP-8.4/ext/pcre/pcre2lib/ |
H A D | pcre2_auto_possess.c | 331 uint32_t chr; in get_chr_property_list() local 407 list[2] = chr; in get_chr_property_list() 415 list[2] = chr; in get_chr_property_list() 418 if (chr < 128 || (chr < 256 && !utf && !ucp)) in get_chr_property_list() 423 list[3] = (chr < 256) ? fcc[chr] : chr; in get_chr_property_list() 550 uint32_t chr; in compare_opcodes() local 1020 switch(chr) in compare_opcodes() 1028 switch(chr) in compare_opcodes() 1037 switch(chr) in compare_opcodes() 1045 switch(chr) in compare_opcodes() [all …]
|
/PHP-8.4/ext/mbstring/tests/ |
H A D | mb_ucfirst_lcfirst.phpt | 12 if (mb_ucfirst(chr($i)) !== chr($i - (97 - 65))) { 13 echo "mb_ucfirst compare failed: " . chr($i) . "\n"; 16 if (mb_ucfirst(chr($i)) !== chr($i)) { 17 echo "mb_ucfirst compare failed: " . chr($i) . "\n"; 27 if (mb_lcfirst(chr($i)) !== chr($i + (97 - 65))) { 28 echo "mb_lcfirst compare failed: " . chr($i) . "\n"; 32 if (mb_lcfirst(chr($i)) !== chr($i)) { 33 echo "mb_lcfirst compare failed: " . chr($i) . "\n";
|