Home
last modified time | relevance | path

Searched refs:w (Results 76 – 100 of 874) sorted by relevance

12345678910>>...35

/PHP-5.4/ext/pcre/tests/
H A Dpreg_replace_edit_basic.phpt23 var_dump(preg_replace('<\b[hH]\w{2,4}>',
26 var_dump(preg_replace('<(\w)\s*-\s*(\w)>',
29 var_dump(preg_replace('<(^[a-z]\w+)@(\w+)\.(\w+)\.([a-z]{2,}$)>',
H A Dlocales.phpt17 var_dump(preg_match('/^\w{6}$/', 'a�����'));
20 var_dump(preg_match('/^\w{6}$/', 'a�����'));
23 var_dump(preg_match('/^\w{6}$/', 'a�����'));
H A Dbug27011.phpt6 var_dump(preg_match_all('|(\w+)://([^\s"<]*[\w+#?/&=])|', "This is a text string", $matches, PREG_S…
H A Dbug38600.phpt7 var_dump(preg_match('/(?<!\w)(0x[\p{N}]+[lL]?|[\p{Nd}]+(e[\p{Nd}]*)?[lLdDfF]?)(?!\w)/', $foo, $m));
H A Dpreg_grep_basic.phpt11 var_dump(preg_grep('@^HTTP(.*?)\w{2,}$@i', $array)); //finds a string starting with http (regardles…
12 var_dump(preg_grep('@(/\w+\.*/*)+@', $array)); //finds / followed by one or more of a-z, A-Z and 0-…
13 …eg_grep('@^http://[^w]{3}.*$@i', $array)); //finds http:// (at the beginning of a string) not foll…
15 var_dump(preg_grep('@^HTTP(.*?)\w{2,}$@i', $array, PREG_GREP_INVERT)); //same as first example but …
/PHP-5.4/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_memory_device.c217 unsigned char *w; in mbfl_memory_device_strcat() local
239 w = &device->buffer[device->pos]; in mbfl_memory_device_strcat()
242 *w++ = *p++; in mbfl_memory_device_strcat()
252 unsigned char *w; in mbfl_memory_device_strncat() local
265 w = &device->buffer[device->pos]; in mbfl_memory_device_strncat()
268 *w++ = *psrc++; in mbfl_memory_device_strncat()
279 unsigned char *p, *w; in mbfl_memory_device_devcat() local
293 w = &dest->buffer[dest->pos]; in mbfl_memory_device_devcat()
297 *w++ = *p++; in mbfl_memory_device_devcat()
/PHP-5.4/sapi/cgi/tests/
H A D003.phpt2 strip comments and whitespace with -w
35 var_dump(`$php -n -w "$filename"`);
36 var_dump(`$php -n -w "wrong"`);
37 …ump(`echo "<?php /* comment */ class test {\n // comment \n function foo() {} } ?>" | $php -n -w`);
/PHP-5.4/ext/zlib/tests/
H A Dgzopen_basic2.phpt22 $modes = array('w', 'w+');
46 testing mode -- w --
48 testing mode -- w+ --
/PHP-5.4/ext/gd/tests/
H A Dbug51263.phpt12 $w = 23;
14 $img = imagecreatetruecolor($w, $h);
16 imagefilledrectangle($img, 0, 0, $w-1, $h-1, $blk);
/PHP-5.4/ext/standard/tests/streams/
H A Dstream_get_meta_data_file_variation2.phpt8 $fp = fopen($filename, "w+");
51 string(2) "w+"
76 string(2) "w+"
99 string(2) "w+"
122 string(2) "w+"
H A Dstream_get_meta_data_file_variation5.phpt8 $fp = fopen($filename, "w+");
41 string(2) "w+"
64 string(2) "w+"
/PHP-5.4/ext/bz2/tests/
H A D001.phpt11 var_dump(bzopen("", "w"));
25 Warning: bzopen(): '' is not a valid mode for bzopen(). Only 'w' and 'r' are supported. in %s on li…
34 Warning: bzopen(): 'x' is not a valid mode for bzopen(). Only 'w' and 'r' are supported. in %s on l…
37 Warning: bzopen(): 'rw' is not a valid mode for bzopen(). Only 'w' and 'r' are supported. in %s on …
/PHP-5.4/ext/standard/tests/file/
H A Dfseek_ftell_rewind_variation4-win32.phpt2 Test fseek(), ftell() & rewind() functions : usage variations - all w and x modes, SEEK_SET
28 $file_modes = array( "w","wb","wt","w+","w+b","w+t",
70 *** Testing fseek(), ftell(), rewind() : whence = SEEK_SET & all w and x modes ***
73 -- File opened in mode w --
124 -- File opened in mode w+ --
141 -- File opened in mode w+b --
158 -- File opened in mode w+t --
279 -- File opened in mode w --
330 -- File opened in mode w+ --
347 -- File opened in mode w+b --
[all …]
H A Dfseek_ftell_rewind_variation4.phpt2 Test fseek(), ftell() & rewind() functions : usage variations - all w and x modes, SEEK_SET
28 $file_modes = array( "w","wb","wt","w+","w+b","w+t",
70 *** Testing fseek(), ftell(), rewind() : whence = SEEK_SET & all w and x modes ***
73 -- File opened in mode w --
124 -- File opened in mode w+ --
141 -- File opened in mode w+b --
158 -- File opened in mode w+t --
279 -- File opened in mode w --
330 -- File opened in mode w+ --
347 -- File opened in mode w+b --
[all …]
H A Dfseek_ftell_rewind_variation6-win32.phpt2 Test fseek(), ftell() & rewind() functions : usage variations - all w & x modes, SEEK_CUR
29 $file_modes = array( "w","wb","wt","w+","w+b","w+t",
70 *** Testing fseek(), ftell(), rewind() : whence = SEEK_CUR & all w and x modes ***
73 -- File opened in mode w --
124 -- File opened in mode w+ --
141 -- File opened in mode w+b --
158 -- File opened in mode w+t --
279 -- File opened in mode w --
330 -- File opened in mode w+ --
347 -- File opened in mode w+b --
[all …]
H A Dfseek_ftell_rewind_variation6.phpt2 Test fseek(), ftell() & rewind() functions : usage variations - all w & x modes, SEEK_CUR
29 $file_modes = array( "w","wb","wt","w+","w+b","w+t",
70 *** Testing fseek(), ftell(), rewind() : whence = SEEK_CUR & all w and x modes ***
73 -- File opened in mode w --
124 -- File opened in mode w+ --
141 -- File opened in mode w+b --
158 -- File opened in mode w+t --
279 -- File opened in mode w --
330 -- File opened in mode w+ --
347 -- File opened in mode w+b --
[all …]
H A Dfflush_variation1-win32.phpt22 $file_modes = array("w", "wb", "wt", "w+", "w+b", "w+t",
69 -- File opened in w mode --
81 -- File opened in w+ mode --
85 -- File opened in w+b mode --
89 -- File opened in w+t mode --
142 -- File opened in w mode --
154 -- File opened in w+ mode --
215 -- File opened in w mode --
227 -- File opened in w+ mode --
288 -- File opened in w mode --
[all …]
H A Dfflush_variation1.phpt22 $file_modes = array("w", "wb", "wt", "w+", "w+b", "w+t",
70 -- File opened in w mode --
82 -- File opened in w+ mode --
86 -- File opened in w+b mode --
90 -- File opened in w+t mode --
143 -- File opened in w mode --
155 -- File opened in w+ mode --
216 -- File opened in w mode --
228 -- File opened in w+ mode --
289 -- File opened in w mode --
[all …]
H A Dfseek_ftell_rewind_variation2-win32.phpt2 Test fseek(), ftell() & rewind() functions : usage variations - all w and x modes, default whence
29 $file_modes = array( "w","wb","wt","w+","w+b","w+t",
72 *** Testing fseek(), ftell(), rewind() : default whence & all w and x modes ***
75 -- File opened in mode w --
120 -- File opened in mode w+ --
135 -- File opened in mode w+b --
150 -- File opened in mode w+t --
257 -- File opened in mode w --
302 -- File opened in mode w+ --
317 -- File opened in mode w+b --
[all …]
H A Dfseek_ftell_rewind_variation2.phpt2 Test fseek(), ftell() & rewind() functions : usage variations - all w and x modes, default whence
29 $file_modes = array( "w","wb","wt","w+","w+b","w+t",
72 *** Testing fseek(), ftell(), rewind() : default whence & all w and x modes ***
75 -- File opened in mode w --
120 -- File opened in mode w+ --
135 -- File opened in mode w+b --
150 -- File opened in mode w+t --
257 -- File opened in mode w --
302 -- File opened in mode w+ --
317 -- File opened in mode w+b --
[all …]
H A Dstream_copy_to_stream.phpt13 $dest = fopen($new_file, 'w');
25 $dest = fopen($new_file, 'w');
40 $dest = fopen($new_file, 'w');
55 $dest = fopen($new_file, 'w');
70 $dest = fopen($new_file, 'w');
86 $dest = fopen($new_file, 'w');
101 $dest = fopen($new_file, 'w');
H A Dfgetcsv_variation8.phpt37 "w+", "w+b", "w+t",
45 $file_handle = fopen($filename, "w");
171 -- Testing fgetcsv() with file opened using w+ mode --
179 -- Testing fgetcsv() with file opened using w+b mode --
187 -- Testing fgetcsv() with file opened using w+t mode --
291 -- Testing fgetcsv() with file opened using w+ mode --
299 -- Testing fgetcsv() with file opened using w+b mode --
307 -- Testing fgetcsv() with file opened using w+t mode --
411 -- Testing fgetcsv() with file opened using w+ mode --
531 -- Testing fgetcsv() with file opened using w+ mode --
[all …]
/PHP-5.4/ext/mbstring/libmbfl/filters/
H A Dmbfilter_cp5022x.c231 int c1, s, w; in mbfl_filt_conv_jis_ms_wchar() local
285 w = s - 94*94 + 0xe000; in mbfl_filt_conv_jis_ms_wchar()
287 w = 0; in mbfl_filt_conv_jis_ms_wchar()
289 if (w <= 0) { in mbfl_filt_conv_jis_ms_wchar()
290 w = (c1 << 8) | c; in mbfl_filt_conv_jis_ms_wchar()
291 w &= MBFL_WCSPLANE_MASK; in mbfl_filt_conv_jis_ms_wchar()
298 w = 0; in mbfl_filt_conv_jis_ms_wchar()
300 if (w <= 0) { in mbfl_filt_conv_jis_ms_wchar()
301 w = (c1 << 8) | c; in mbfl_filt_conv_jis_ms_wchar()
312 w = (c1 << 8) | c; in mbfl_filt_conv_jis_ms_wchar()
[all …]
/PHP-5.4/ext/gd/libgd/
H A Dgd.c345 f = (R == w) ? G - B : ((G == w) ? B - R : R - G); in RGB_to_HWB()
346 i = (R == w) ? 3 : ((G == w) ? 5 : 1); in RGB_to_HWB()
348 RETURN_HWB(i - f / (v - w), w, b); in RGB_to_HWB()
1157 for (w = wstart; w < wstart + wid; w++) { in gdImageLine()
1171 for (w = wstart; w < wstart + wid; w++) { in gdImageLine()
1185 for (w = wstart; w < wstart + wid; w++) { in gdImageLine()
1221 for (w = wstart; w < wstart + wid; w++) { in gdImageLine()
1235 for (w = wstart; w < wstart + wid; w++) { in gdImageLine()
1249 for (w = wstart; w < wstart + wid; w++) { in gdImageLine()
1524 for (w = wstart; w < wstart + wid; w++) { in dashedSet()
[all …]
/PHP-5.4/Zend/tests/
H A Dinter_007.phpt14 class_alias('c', 'w');
16 interface a extends d, w { }

Completed in 60 milliseconds

12345678910>>...35