/php-src/ext/standard/tests/file/ |
H A D | bug60120.phpt | 18 $descriptors = array(array('pipe', 'r'), array('pipe', 'w'), array('pipe', 'w')); 36 $w = $writePipes; 38 $n = stream_select($r, $w, $e, 60); 46 if ($w) {
|
H A D | ftruncate_bug76803.phpt | 8 $f = fopen($fn, "w"); 15 $f = fopen($fn, "w"); 21 $f = fopen('php://memory', 'w+');
|
H A D | fseek_ftell_rewind_variation4-win32.phpt | 2 Test fseek(), ftell() & rewind() functions : usage variations - all w and x modes, SEEK_SET 18 $file_modes = array( "w","wb","wt","w+","w+b","w+t", 60 *** Testing fseek(), ftell(), rewind() : whence = SEEK_SET & all w and x modes *** 63 -- File opened in mode w -- 114 -- File opened in mode w+ -- 131 -- File opened in mode w+b -- 148 -- File opened in mode w+t -- 269 -- File opened in mode w -- 320 -- File opened in mode w+ -- 337 -- File opened in mode w+b -- [all …]
|
H A D | fseek_ftell_rewind_variation4.phpt | 2 Test fseek(), ftell() & rewind() functions : usage variations - all w and x modes, SEEK_SET 18 $file_modes = array( "w","wb","wt","w+","w+b","w+t", 60 *** Testing fseek(), ftell(), rewind() : whence = SEEK_SET & all w and x modes *** 63 -- File opened in mode w -- 114 -- File opened in mode w+ -- 131 -- File opened in mode w+b -- 148 -- File opened in mode w+t -- 269 -- File opened in mode w -- 320 -- File opened in mode w+ -- 337 -- File opened in mode w+b -- [all …]
|
H A D | fseek_ftell_rewind_variation6-win32.phpt | 2 Test fseek(), ftell() & rewind() functions : usage variations - all w & x modes, SEEK_CUR 19 $file_modes = array( "w","wb","wt","w+","w+b","w+t", 60 *** Testing fseek(), ftell(), rewind() : whence = SEEK_CUR & all w and x modes *** 63 -- File opened in mode w -- 114 -- File opened in mode w+ -- 131 -- File opened in mode w+b -- 148 -- File opened in mode w+t -- 269 -- File opened in mode w -- 320 -- File opened in mode w+ -- 337 -- File opened in mode w+b -- [all …]
|
H A D | fseek_ftell_rewind_variation6.phpt | 2 Test fseek(), ftell() & rewind() functions : usage variations - all w & x modes, SEEK_CUR 19 $file_modes = array( "w","wb","wt","w+","w+b","w+t", 60 *** Testing fseek(), ftell(), rewind() : whence = SEEK_CUR & all w and x modes *** 63 -- File opened in mode w -- 114 -- File opened in mode w+ -- 131 -- File opened in mode w+b -- 148 -- File opened in mode w+t -- 269 -- File opened in mode w -- 320 -- File opened in mode w+ -- 337 -- File opened in mode w+b -- [all …]
|
H A D | fputcsv_variation9.phpt | 30 "w+", "w+b", "w+t", 113 -- file opened in w+ -- 119 -- file opened in w+b -- 125 -- file opened in w+t -- 185 -- file opened in w+ -- 191 -- file opened in w+b -- 197 -- file opened in w+t -- 257 -- file opened in w+ -- 329 -- file opened in w+ -- 401 -- file opened in w+ -- [all …]
|
H A D | fputcsv_variation13.phpt | 31 "w+", "w+b", "w+t", 114 -- file opened in w+ -- 120 -- file opened in w+b -- 126 -- file opened in w+t -- 186 -- file opened in w+ -- 192 -- file opened in w+b -- 198 -- file opened in w+t -- 258 -- file opened in w+ -- 330 -- file opened in w+ -- 402 -- file opened in w+ -- [all …]
|
H A D | fseek_ftell_rewind_variation2-win32.phpt | 2 Test fseek(), ftell() & rewind() functions : usage variations - all w and x modes, default whence 19 $file_modes = array( "w","wb","wt","w+","w+b","w+t", 62 *** Testing fseek(), ftell(), rewind() : default whence & all w and x modes *** 65 -- File opened in mode w -- 110 -- File opened in mode w+ -- 125 -- File opened in mode w+b -- 140 -- File opened in mode w+t -- 247 -- File opened in mode w -- 292 -- File opened in mode w+ -- 307 -- File opened in mode w+b -- [all …]
|
H A D | fseek_ftell_rewind_variation2.phpt | 2 Test fseek(), ftell() & rewind() functions : usage variations - all w and x modes, default whence 19 $file_modes = array( "w","wb","wt","w+","w+b","w+t", 62 *** Testing fseek(), ftell(), rewind() : default whence & all w and x modes *** 65 -- File opened in mode w -- 110 -- File opened in mode w+ -- 125 -- File opened in mode w+b -- 140 -- File opened in mode w+t -- 247 -- File opened in mode w -- 292 -- File opened in mode w+ -- 307 -- File opened in mode w+b -- [all …]
|
/php-src/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_qprint.c | 313 uint32_t w = *in++; in mb_wchar_to_qprint() local 315 if (!w) { in mb_wchar_to_qprint() 319 } else if (w == '\n') { in mb_wchar_to_qprint() 324 } else if (w == '\r') { in mb_wchar_to_qprint() 337 if (w >= 0x80 || w == '=') { in mb_wchar_to_qprint() 340 …out = mb_convert_buf_add3(out, '=', qprint_enc_nibble((w >> 4) & 0xF), qprint_enc_nibble(w & 0xF)); in mb_wchar_to_qprint() 344 out = mb_convert_buf_add(out, w); in mb_wchar_to_qprint()
|
H A D | mbfilter_7bit.c | 111 uint32_t w = *in++; in mb_wchar_to_7bit() local 112 if (w <= 0x7F) { in mb_wchar_to_7bit() 113 out = mb_convert_buf_add(out, w); in mb_wchar_to_7bit() 115 MB_CONVERT_ERROR(buf, out, limit, w, mb_wchar_to_7bit); in mb_wchar_to_7bit()
|
H A D | mbfilter_uuencode.c | 295 uint32_t w = cached_bits; in mb_wchar_to_uuencode() local 305 …out = mb_convert_buf_add3(out, uuencode_six_bits((w << 4) + ((w2 >> 4) & 0xF)), uuencode_six_bits(… in mb_wchar_to_uuencode() 321 uint32_t w = *in++; in mb_wchar_to_uuencode() local 326 out = mb_convert_buf_add(out, uuencode_six_bits((w >> 2) & 0x3F)); in mb_wchar_to_uuencode() 328 cached_bits = w & 0x3; in mb_wchar_to_uuencode() 339 …out = mb_convert_buf_add2(out, uuencode_six_bits((w >> 2) & 0x3F), uuencode_six_bits(((w & 0x3) <<… in mb_wchar_to_uuencode() 350 …out = mb_convert_buf_add4(out, uuencode_six_bits((w >> 2) & 0x3F), uuencode_six_bits(((w & 0x3) <<… in mb_wchar_to_uuencode()
|
/php-src/ext/pcre/tests/ |
H A D | bug27011.phpt | 6 var_dump(preg_match_all('|(\w+)://([^\s"<]*[\w+#?/&=])|', "This is a text string", $matches, PREG_S…
|
H A D | preg_grep_basic.phpt | 10 var_dump(preg_grep('@^HTTP(.*?)\w{2,}$@i', $array)); //finds a string starting with http (regardles… 11 var_dump(preg_grep('@(/\w+\.*/*)+@', $array)); //finds / followed by one or more of a-z, A-Z and 0-… 12 …eg_grep('@^http://[^w]{3}.*$@i', $array)); //finds http:// (at the beginning of a string) not foll… 14 var_dump(preg_grep('@^HTTP(.*?)\w{2,}$@i', $array, PREG_GREP_INVERT)); //same as first example but …
|
H A D | bug38600.phpt | 7 var_dump(preg_match('/(?<!\w)(0x[\p{N}]+[lL]?|[\p{Nd}]+(e[\p{Nd}]*)?[lLdDfF]?)(?!\w)/', $foo, $m));
|
H A D | gh11956.phpt | 7 preg_match( '/<(\w+)[\s\w\-]+ id="S44_i89ew">/', '<br><div id="S44_i89ew">', $matches );
|
/php-src/ext/standard/tests/streams/ |
H A D | proc_open_bug60120.phpt | 28 ['pipe', 'w'], 29 ['pipe', 'w'] 59 $w = []; 61 $s = stream_select($r, $w, $e, 60);
|
H A D | stream_get_meta_data_file_variation2.phpt | 8 $fp = fopen($filename, "w+"); 57 string(2) "w+" 82 string(2) "w+" 105 string(2) "w+" 128 string(2) "w+"
|
/php-src/ext/bz2/tests/ |
H A D | 001.phpt | 15 var_dump(bzopen("", "w")); 47 bzopen(): Argument #2 ($mode) must be either "r" or "w" 48 bzopen(): Argument #2 ($mode) must be either "r" or "w" 49 bzopen(): Argument #2 ($mode) must be either "r" or "w"
|
/php-src/sapi/cgi/tests/ |
H A D | 003.phpt | 2 strip comments and whitespace with -w 40 var_dump(`$php -n -w "$filename"`); 41 var_dump(`$php -n -w "wrong"`); 42 …ump(`echo "<?php /* comment */ class test {\n // comment \n function foo() {} } ?>" | $php -n -w`);
|
/php-src/ext/mbstring/libmbfl/mbfl/ |
H A D | mbfilter_8bit.c | 119 uint32_t w = *in++; in mb_wchar_to_8bit() local 120 if (w <= 0xFF) { in mb_wchar_to_8bit() 121 out = mb_convert_buf_add(out, w); in mb_wchar_to_8bit() 123 MB_CONVERT_ERROR(buf, out, limit, w, mb_wchar_to_8bit); in mb_wchar_to_8bit()
|
/php-src/ext/sockets/tests/ |
H A D | socket_select_error.phpt | 7 $r = $w = $e = ['no resource']; 9 socket_select($r, $w, $e, 1);
|
/php-src/Zend/tests/ |
H A D | bug78271.phpt | 7 $w="x"; 9 $w="y";
|
H A D | inter_007.phpt | 14 class_alias('c', 'w'); 16 interface a extends d, w { }
|