/php-src/ext/zlib/tests/ |
H A D | zlib_filter_deflate2.phpt | 9 $fp = fopen('php://stdout', 'w'); 16 �A� Dѫ����1�MB��Uv�_�(�EL���/��aP�=Pi�;�6�f�Ce4��U9;w�5��m/
|
H A D | gzfile_variation15.phpt | 28 $h = gzopen($secondFile, "w"); 37 $h = gzopen($firstFile, "w"); 46 $h = gzopen($filename, "w"); 62 $h = gzopen($scriptFile, "w");
|
H A D | readgzfile_variation15.phpt | 28 $h = gzopen($secondFile, "w"); 38 $h = gzopen($firstFile, "w"); 48 $h = gzopen($filename, "w"); 66 $h = gzopen($scriptFile, "w");
|
/php-src/ext/standard/tests/general_functions/ |
H A D | bug78569.phpt | 11 $descriptorspec = array(['pipe', 'r'], ['pipe', 'w'], ['pipe', 'w']);
|
H A D | proc_open_null.phpt | 9 $proc = proc_open($cmd, [1 => ['null'], 2 => ['pipe', 'w']], $pipes); 14 $proc = proc_open($cmd, [1 => ['pipe', 'w'], 2 => ['null']], $pipes);
|
H A D | proc_open-mb1.phpt | 18 1 => array("pipe", "w"), 19 2 => array("pipe", "w")
|
/php-src/tests/classes/ |
H A D | iterators_003.phpt | 52 foreach($t as $w) { 53 if ($w == 1) { 57 if ($w == 2) { 61 echo "double:$v:$w\n";
|
/php-src/Zend/tests/asymmetric_visibility/ |
H A D | variation_nested.phpt | 23 function w($test) { 53 foreach (['r', 'w', 'rw', 'im', 'is', 'us', 'us_dim'] as $op) { 72 Init: 1, op: w: done 79 Init: 0, op: w: Cannot indirectly modify private(set) property Test::$prop from global scope
|
/php-src/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_utf16.c | 577 uint32_t w = *in++; in mb_wchar_to_utf16be_default() local 579 if (w < MBFL_WCSPLANE_UCS2MAX) { in mb_wchar_to_utf16be_default() 580 out = mb_convert_buf_add2(out, (w >> 8) & 0xFF, w & 0xFF); in mb_wchar_to_utf16be_default() 583 uint16_t n2 = (w & 0x3FF) | 0xDC00; in mb_wchar_to_utf16be_default() 655 uint32_t w = *in++; in mb_wchar_to_utf16le_default() local 657 if (w < MBFL_WCSPLANE_UCS2MAX) { in mb_wchar_to_utf16le_default() 658 out = mb_convert_buf_add2(out, w & 0xFF, (w >> 8) & 0xFF); in mb_wchar_to_utf16le_default() 661 uint16_t n2 = (w & 0x3FF) | 0xDC00; in mb_wchar_to_utf16le_default() 847 uint32_t w = *in++; in mb_wchar_to_utf16be_avx2() local 851 if (w < MBFL_WCSPLANE_UTF32MAX) { in mb_wchar_to_utf16be_avx2() [all …]
|
H A D | mbfilter_utf7imap.c | 657 uint32_t w = *in++; in mb_wchar_to_utf7imap() local 659 if (w >= 0x20 && w <= 0x7E) { in mb_wchar_to_utf7imap() 672 } else if (w >= MBFL_WCSPLANE_UTF32MAX) { in mb_wchar_to_utf7imap() 684 if (w >= MBFL_WCSPLANE_SUPMIN) { in mb_wchar_to_utf7imap() 687 w -= 0x10000; in mb_wchar_to_utf7imap() 688 bits = ((uint64_t)cache << 32) | 0xD800DC00L | ((w & 0xFFC00) << 6) | (w & 0x3FF); in mb_wchar_to_utf7imap() 692 bits = (cache << 16) | w; in mb_wchar_to_utf7imap() 704 if (w == '&') { in mb_wchar_to_utf7imap() 707 } else if (w >= 0x20 && w <= 0x7E) { in mb_wchar_to_utf7imap() 708 out = mb_convert_buf_add(out, w); in mb_wchar_to_utf7imap() [all …]
|
/php-src/ext/standard/tests/strings/ |
H A D | chunk_split_variation11.phpt | 47 string(132) "This i s here doc st ring w ith and 49 s Peci@! ch@r$ :) & number s 222. This i s \k w rong e scape char. " 62 ring w 76 s \k w 86 string(398) "This i)speci@! ch@r$(s here)speci@! ch@r$(doc st)speci@! ch@r$(ring w)speci@! ch@r$(it… 88 …! ch@r$(number)speci@! ch@r$(s 222.)speci@! ch@r$(This i)speci@! ch@r$(s \k w)speci@! ch@r$(rong e…
|
/php-src/ext/mbstring/libmbfl/mbfl/ |
H A D | mbfilter.c | 119 unsigned char *w; in mbfl_strcut() local 180 w = ecalloc(sz + 8, sizeof(unsigned char)); in mbfl_strcut() 182 memcpy(w, start, sz); in mbfl_strcut() 183 w[sz] = '\0'; in mbfl_strcut() 184 w[sz + 1] = '\0'; in mbfl_strcut() 185 w[sz + 2] = '\0'; in mbfl_strcut() 186 w[sz + 3] = '\0'; in mbfl_strcut() 188 result->val = w; in mbfl_strcut()
|
/php-src/ext/standard/tests/file/ |
H A D | readfile_basic-win32.phpt | 21 $filemodes = array("w", "wt", "wb", "w+", "w+b", "w+t", 51 -- File opened with mode: w -- 60 -- File opened with mode: w+ -- 63 -- File opened with mode: w+b -- 66 -- File opened with mode: w+t -- 107 -- File opened with mode: w -- 116 -- File opened with mode: w+ -- 163 -- File opened with mode: w -- 172 -- File opened with mode: w+ -- 219 -- File opened with mode: w -- [all …]
|
H A D | readfile_basic.phpt | 21 $filemodes = array("w", "wt", "wb", "w+", "w+b", "w+t", 51 -- File opened with mode: w -- 60 -- File opened with mode: w+ -- 63 -- File opened with mode: w+b -- 66 -- File opened with mode: w+t -- 107 -- File opened with mode: w -- 116 -- File opened with mode: w+ -- 163 -- File opened with mode: w -- 172 -- File opened with mode: w+ -- 219 -- File opened with mode: w -- [all …]
|
H A D | fgetcsv_variation18.phpt | 31 "w+", "w+b", "w+t", 39 $file_handle = fopen($filename, "w"); 162 -- Testing fgetcsv() with file opened using w+ mode -- 170 -- Testing fgetcsv() with file opened using w+b mode -- 178 -- Testing fgetcsv() with file opened using w+t mode -- 282 -- Testing fgetcsv() with file opened using w+ mode -- 290 -- Testing fgetcsv() with file opened using w+b mode -- 298 -- Testing fgetcsv() with file opened using w+t mode -- 402 -- Testing fgetcsv() with file opened using w+ mode -- 522 -- Testing fgetcsv() with file opened using w+ mode -- [all …]
|
H A D | stream_copy_to_stream.phpt | 13 $dest = fopen($new_file, 'w'); 27 $dest = fopen($new_file, 'w'); 44 $dest = fopen($new_file, 'w'); 61 $dest = fopen($new_file, 'w'); 78 $dest = fopen($new_file, 'w'); 96 $dest = fopen($new_file, 'w'); 113 $dest = fopen($new_file, 'w');
|
H A D | bug39551.phpt | 6 $bucket = stream_bucket_new(fopen('php://temp', 'w+'), ''); 12 $bucket = stream_bucket_new(fopen('php://temp', 'w+'), '');
|
H A D | fwrite.phpt | 8 $fp = fopen($filename, "w"); 15 $fp = fopen($filename, "w");
|
H A D | bug66588.phpt | 9 $s = fopen("php://memory", "w+"); 15 $s = fopen("php://memory", "w+");
|
H A D | fgetcsv_variation2.phpt | 29 "w+", "w+b", "w+t", 37 $file_handle = fopen($filename, "w"); 179 -- Testing fgetcsv() with file opened using w+ mode -- 189 -- Testing fgetcsv() with file opened using w+b mode -- 199 -- Testing fgetcsv() with file opened using w+t mode -- 329 -- Testing fgetcsv() with file opened using w+ mode -- 339 -- Testing fgetcsv() with file opened using w+b mode -- 349 -- Testing fgetcsv() with file opened using w+t mode -- 479 -- Testing fgetcsv() with file opened using w+ mode -- 629 -- Testing fgetcsv() with file opened using w+ mode -- [all …]
|
/php-src/ext/standard/tests/streams/ |
H A D | gh9590-001.phpt | 18 $fds[] = @fopen(__DIR__ . "/GH-9590-001-tmpfile.$i", 'w'); 24 $w = $e = []; 25 var_dump(stream_select($r, $w, $e, PHP_INT_MAX));
|
H A D | gh9590-002.phpt | 18 $fds[] = @fopen(__DIR__ . "/GH-9590-002-tmpfile.$i", 'w'); 26 $w = $e = []; 27 var_dump(stream_select($r, $w, $e, PHP_INT_MAX));
|
/php-src/sapi/cli/tests/ |
H A D | std_streams.phpt | 18 var_dump(ftell(fopen("php://stderr", "w"))); 22 var_dump(ftell(fopen("php://stdout", "w")));
|
/php-src/ext/curl/tests/ |
H A D | curl_reset.phpt | 11 $fp = fopen($log_file, 'w+'); 15 $testfile_fp = fopen($test_file, 'w+');
|
/php-src/ext/mbstring/tests/ |
H A D | mb_ereg_replace_named_subpatterns.phpt | 13 echo mb_ereg_replace('(?<a>\s*)(?<b>\w+)(?<c>\s*)', '\k<a>_\k<b>_\k<c>', 'a b c d e' ), "\n"; 25 echo mb_ereg_replace('(\w)\1', '-\k<>-', 'AA'), PHP_EOL; 27 echo mb_ereg_replace('(?<a>\w+)', '-\k<a', 'AA'), PHP_EOL;
|