/PHP-7.1/ext/standard/tests/strings/ |
H A D | str_replace_variation2.phpt | 17 ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"; 54 chr(128).chr(234).chr(65).chr(255).chr(256), 74 ?FOUND chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)" 81 ?FOUND chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)" 88 ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)" 95 ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)" 102 ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)" 109 ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)" 116 ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)" 123 ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)" [all …]
|
H A D | str_replace.phpt | 52 ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"; 89 chr(128).chr(234).chr(65).chr(255).chr(256), 619 ?FOUND chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)" 626 ?FOUND chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)" 633 ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)" 640 ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)" 647 ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)" 654 ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)" 661 ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)" 668 ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)" [all …]
|
H A D | chr_basic.phpt | 2 Test chr() function : basic functionality 6 /* Prototype : string chr ( int $ascii ) 11 echo "*** Testing chr() : basic functionality ***\n"; 13 echo chr(72). chr(101) . chr(108) . chr(108). chr(111); // Hello 14 echo chr(10); // "\n" 20 *** Testing chr() : basic functionality ***
|
H A D | chr_error.phpt | 2 Test chr() function : error conditions 6 /* Prototype : string chr ( int $ascii ) 11 echo "*** Testing chr() : error conditions ***\n"; 13 echo "\n-- Testing chr() function with no arguments --\n"; 14 var_dump( chr() ); 18 var_dump( chr(72, $extra_arg) ); 23 *** Testing chr() : error conditions *** 25 -- Testing chr() function with no arguments -- 27 Warning: Wrong parameter count for chr() in %s on line %d 30 -- Testing chr() function with more than expected no. of arguments -- [all …]
|
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 | chr_ord.phpt | 2 Test chr() and ord() functions 5 /* Prototype: string chr ( int $ascii ); 12 for($i=0; $i<256; $i++) echo !ord(chr($i)) == $i; 15 echo "\n*** Testing chr() usage variations ***\n"; 40 var_dump( chr($var) ); 53 echo "\n*** Testing chr() error conditions ***\n"; 55 var_dump( chr() ); 57 var_dump( chr($arr_test[0], $arr_test[1]) ); 69 *** Testing ord() & chr() basic operations *** 71 *** Testing chr() usage variations *** [all …]
|
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 | 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 | explode.phpt | 10 echo var_export(explode("\1", "a". chr(1). "b". chr(0). "d" . chr(1) . "f" . chr(1). "1" . chr(1) .… 11 echo md5(var_export(explode("\1", "a". chr(1). "b". chr(0). "d" . chr(1) . "f" . chr(1). "1" . chr(…
|
H A D | stripos_variation12.phpt | 16 "Hello".chr(0)."World", 17 chr(0)."Hello World", 18 "Hello World".chr(0), 19 chr(0).chr(0).chr(0),
|
H A D | strrchr_variation12.phpt | 14 "Hello".chr(0)."World", 15 chr(0)."Hello World", 16 "Hello World".chr(0), 17 chr(0).chr(0).chr(0),
|
H A D | strrpos_variation12.phpt | 16 "Hello".chr(0)."World", 17 chr(0)."Hello World", 18 "Hello World".chr(0), 19 chr(0).chr(0).chr(0),
|
H A D | stripos_variation13.phpt | 18 "Hello".chr(0)."World", 19 chr(0)."Hello World", 20 "Hello World".chr(0), 21 chr(0).chr(0).chr(0),
|
H A D | substr_count_variation_001.phpt | 26 $str = chr(128).chr(129).chr(128).chr(256).chr(255).chr(254).chr(255); 27 var_dump(substr_count($str, chr(128))); 28 var_dump(substr_count($str, chr(255))); 29 var_dump(substr_count($str, chr(256)));
|
H A D | addslashes_variation2.phpt | 55 'hello'.chr(0).'world', 56 chr(0).'hello'.chr(0), 57 chr(0).chr(0).'hello', 58 chr(0), 62 "'\\0.0.0.0'".chr(0), 63 chr(0)."'c:\php\'", 65 '"c:\php\"'.chr(0)."'", 66 '"hello"'."'world'".chr(0).'//',
|
H A D | chop_variation4.phpt | 24 chr(0), 25 chr(0).chr(0), 26 chr(0).'hello'.chr(0), 27 'hello'.chr(0).'world'
|
H A D | strncmp_variation1.phpt | 15 …var_dump( strncmp( chr($ASCII), chr($ASCII), 1 ) ); //comparing uppercase letters with uppercase … 16 …var_dump( strncmp( chr($ASCII), chr($ASCII + 32), 1 ) ); //comparing uppercase letters with lower… 21 …var_dump( strncmp( chr($ASCII), chr($ASCII), 1 ) ); //comparing lowercase letters with lowercase … 22 …var_dump( strncmp( chr($ASCII), chr($ASCII - 32), 1 ) ); //comparing lowercase letters with upper…
|
/PHP-7.1/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));
|
H A D | bug70089.phpt | 11 chr(0)[0][] = 1; 16 unset(chr(0)[0][0]); 22 runtimetest(chr(0)[0]); 28 ++chr(0)[0];
|
/PHP-7.1/ext/standard/tests/math/ |
H A D | bug30695.phpt | 10 $char = chr( 0 ); 12 $char = chr( $char_code ); 15 $char = ( chr(0xc0 | (($char_code >> 6) & 0x1f)) . 16 chr(0x80 | ($char_code & 0x3f)) ); 19 $char = ( chr(0xe0 | (($char_code >> 12) & 0x0f)) . 20 chr(0x80 | (($char_code >> 6) & 0x3f)) . 21 chr(0x80 | ($char_code & 0x3f)) ); 26 chr(0x80 | (($char_code >> 6) & 0x3f)) . 27 chr(0x80 | ($char_code & 0x3f)) ); 34 chr(0x80 | ($char_code & 0x3f)) ); [all …]
|
/PHP-7.1/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-7.1/ext/gd/tests/ |
H A D | createfromwbmp2_extern.phpt | 18 fputs($fp, chr($c), 1); 23 fputs($fp, chr($c), 1); 25 fputs($fp, chr($c), 1); 26 fputs($fp, chr($c), 1); 27 fputs($fp, chr($c), 1); 29 fputs($fp, chr($c), 1); 33 fputs($fp, chr($c), 1); 37 fwrite($fp, chr($c), 1);
|
H A D | createfromwbmp2.phpt | 18 fputs($fp, chr($c), 1); 23 fputs($fp, chr($c), 1); 25 fputs($fp, chr($c), 1); 26 fputs($fp, chr($c), 1); 27 fputs($fp, chr($c), 1); 29 fputs($fp, chr($c), 1); 33 fputs($fp, chr($c), 1); 37 fwrite($fp, chr($c), 1);
|
/PHP-7.1/ext/standard/tests/network/ |
H A D | inet.phpt | 11 $packed = chr(127) . chr(0) . chr(0) . chr(1); 14 $packed = chr(255) . chr(255) . chr(255) . chr(0);
|
/PHP-7.1/ext/mysqli/tests/ |
H A D | mysqli_real_escape_string_nobackslash.phpt | 32 assert("foo" . chr(0) . "bar" === "foo" . chr(0) . "bar"); 33 if ("foo" . chr(0) . "bar" !== ($tmp = mysqli_real_escape_string($link, "foo" . chr(0) . "bar"))) 34 printf("[007] Expecting %s, got %s\n", "foo" . chr(0) . "bar", $tmp); 53 if ("foo\\0bar" !== ($tmp = mysqli_real_escape_string($link, "foo" . chr(0) . "bar"))) 54 printf("[013] Expecting %s, got %s\n", "foo" . chr(0) . "bar", $tmp);
|