Home
last modified time | relevance | path

Searched refs:w (Results 26 – 50 of 834) sorted by relevance

12345678910>>...34

/PHP-5.3/ext/standard/tests/file/
H A D007_variation12.phpt2 Test fopen and fclose() functions - usage variations - "w+t" mode
22 /* Test fopen() and fclose(): Opening the file in "w+t" mode,
25 checking for the file truncation when trying to open an existing file in "w+t" mode,
31 create_files($file_path, 1, "text_with_new_line", 0755, 20, "w", "007_variation", 12, "bytes");
35 echo "*** Test fopen() & fclose() functions: with 'w+t' mode ***\n";
36 $file_handle = fopen($file, "w+t"); //opening the file "w+t" mode
48 var_dump( filesize($file) ); //Check for size of existing data file before opening the file in "w+…
50 fclose( fopen($file, "w+t") ); //Opening the existing data file again in "w+t" mode
51 var_dump( filesize($file) ); //Check for size of existing data file after opening the file in "w+t…
55 fclose( fopen($file, "w+t") ); //Opening the non-existing file in "w+t" mode, which will be created
[all …]
H A D007_variation20.phpt2 Test fopen and fclose() functions - usage variations - "w+b" mode
17 /* Test fopen() and fclose(): Opening the file in "w+b" mode,
20 checking for the file truncation when trying to open an existing file in "w+b" mode,
26 create_files($file_path, 1, "text_with_new_line", 0755, 20, "w", "007_variation", 20, "bytes");
30 echo "*** Test fopen() & fclose() functions: with 'w+b' mode ***\n";
31 $file_handle = fopen($file, "w+b"); //opening the file "w+b" mode
43 var_dump( filesize($file) ); //Check for size of existing data file before opening the file in "w+…
45 fclose( fopen($file, "w+b") ); //Opening the existing data file again in "w+b" mode
46 var_dump( filesize($file) ); //Check for size of existing data file after opening the file in "w+b…
50 fclose( fopen($file, "w+b") ); //Opening the non-existing file in "w+b" mode, which will be created
[all …]
H A Dis_executable_variation2.phpt10 $fp = fopen($filename, 'w');
40 create_files(dirname(__FILE__), 1, "numeric", 0755, 1, "w", $name_prefix, 1);
41 create_files(dirname(__FILE__), 1, "text", 0755, 1, "w", $name_prefix, 2);
42 create_files(dirname(__FILE__), 1, "empty", 0755, 1, "w", $name_prefix, 3);
43 create_files(dirname(__FILE__), 1, "numeric", 0755, 1, "w", $name_prefix, 4);
44 create_files(dirname(__FILE__), 1, "text", 0222, 1, "w", $name_prefix, 5);
45 create_files(dirname(__FILE__), 1, "numeric", 0711, 1, "w", $name_prefix, 6);
46 create_files(dirname(__FILE__), 1, "text", 0714, 1, "w", $name_prefix, 7);
47 create_files(dirname(__FILE__), 1, "numeric", 0744, 1, "w", $name_prefix, 8);
48 create_files(dirname(__FILE__), 1, "text", 0421, 1, "w", $name_prefix, 9);
[all …]
H A Dis_readable_variation2.phpt10 $fp = fopen($filename, 'w');
39 create_files(dirname(__FILE__), 1, "numeric", 0755, 1, "w", $name_prefix, 1);
40 create_files(dirname(__FILE__), 1, "text", 0755, 1, "w", $name_prefix, 2);
41 create_files(dirname(__FILE__), 1, "empty", 0755, 1, "w", $name_prefix, 3);
42 create_files(dirname(__FILE__), 1, "numeric", 0555, 1, "w", $name_prefix, 4);
43 create_files(dirname(__FILE__), 1, "text", 0222, 1, "w", $name_prefix, 5);
44 create_files(dirname(__FILE__), 1, "numeric", 0711, 1, "w", $name_prefix, 6);
45 create_files(dirname(__FILE__), 1, "text", 0411, 1, "w", $name_prefix, 7);
46 create_files(dirname(__FILE__), 1, "numeric", 0444, 1, "w", $name_prefix, 8);
47 create_files(dirname(__FILE__), 1, "text", 0421, 1, "w", $name_prefix, 9);
[all …]
H A Dis_writable_variation2.phpt10 $fp = fopen($filename, 'w');
43 create_files(dirname(__FILE__), 1, "numeric", 0755, 1, "w", $name_prefix, 1);
44 create_files(dirname(__FILE__), 1, "text", 0755, 1, "w", $name_prefix, 2);
45 create_files(dirname(__FILE__), 1, "empty", 0755, 1, "w", $name_prefix, 3);
46 create_files(dirname(__FILE__), 1, "numeric", 0555, 1, "w", $name_prefix, 4);
47 create_files(dirname(__FILE__), 1, "text", 0222, 1, "w", $name_prefix, 5);
48 create_files(dirname(__FILE__), 1, "numeric", 0711, 1, "w", $name_prefix, 6);
49 create_files(dirname(__FILE__), 1, "text", 0114, 1, "w", $name_prefix, 7);
50 create_files(dirname(__FILE__), 1, "numeric", 0244, 1, "w", $name_prefix, 8);
51 create_files(dirname(__FILE__), 1, "text", 0421, 1, "w", $name_prefix, 9);
[all …]
H A Dfwrite_basic-win32.phpt24 test fwrite with file opened in mode : w,wb,wt,w+,w+b,w+t
27 $file_modes = array( "w", "wb", "wt", "w+", "w+b", "w+t");
82 -- File opened in mode : w --
124 -- File opened in mode : w+ --
138 -- File opened in mode : w+b --
152 -- File opened in mode : w+t --
168 -- File opened in mode : w --
210 -- File opened in mode : w+ --
254 -- File opened in mode : w --
296 -- File opened in mode : w+ --
[all …]
H A Dfwrite_basic.phpt24 test fwrite with file opened in mode : w,wb,wt,w+,w+b,w+t
27 $file_modes = array( "w", "wb", "wt", "w+", "w+b", "w+t");
82 -- File opened in mode : w --
124 -- File opened in mode : w+ --
138 -- File opened in mode : w+b --
152 -- File opened in mode : w+t --
168 -- File opened in mode : w --
210 -- File opened in mode : w+ --
254 -- File opened in mode : w --
296 -- File opened in mode : w+ --
[all …]
H A Dfputcsv_variation1.phpt35 "w+", "w+b", "w+t",
120 -- file opened in w+ --
127 -- file opened in w+b --
134 -- file opened in w+t --
204 -- file opened in w+ --
211 -- file opened in w+b --
218 -- file opened in w+t --
288 -- file opened in w+ --
372 -- file opened in w+ --
456 -- file opened in w+ --
[all …]
H A Dfputcsv_variation11.phpt35 "w+", "w+b", "w+t",
120 -- file opened in w+ --
127 -- file opened in w+b --
134 -- file opened in w+t --
204 -- file opened in w+ --
211 -- file opened in w+b --
218 -- file opened in w+t --
288 -- file opened in w+ --
372 -- file opened in w+ --
456 -- file opened in w+ --
[all …]
H A Dfputcsv_variation12.phpt36 "w+", "w+b", "w+t",
121 -- file opened in w+ --
128 -- file opened in w+b --
135 -- file opened in w+t --
205 -- file opened in w+ --
212 -- file opened in w+b --
219 -- file opened in w+t --
289 -- file opened in w+ --
373 -- file opened in w+ --
457 -- file opened in w+ --
[all …]
H A Dfputcsv_variation5.phpt35 "w+", "w+b", "w+t",
120 -- file opened in w+ --
127 -- file opened in w+b --
134 -- file opened in w+t --
204 -- file opened in w+ --
211 -- file opened in w+b --
218 -- file opened in w+t --
288 -- file opened in w+ --
372 -- file opened in w+ --
456 -- file opened in w+ --
[all …]
/PHP-5.3/ext/json/
H A Dutf8_to_utf16.c33 utf8_to_utf16(unsigned short w[], char p[], int length) in utf8_to_utf16() argument
46 w[the_index] = (unsigned short)c; in utf8_to_utf16()
50 w[the_index] = (unsigned short)(0xD800 | (c >> 10)); in utf8_to_utf16()
52 w[the_index] = (unsigned short)(0xDC00 | (c & 0x3FF)); in utf8_to_utf16()
/PHP-5.3/ext/standard/tests/general_functions/
H A Dphpcredits.phpt25 %wPHP Authors%w
28 %wSAPI Modules%w
31 %wModule Authors%w
34 %wPHP Documentation%w
40 %wWebsites and Infrastructure team%w
/PHP-5.3/ext/bz2/tests/
H A D002.phpt10 $fp = fopen("bz_open_002.txt", "w");
11 var_dump(bzopen($fp, "w"));
18 var_dump(bzopen($fp, "w"));
28 var_dump(bzopen($fp, "w"));
34 var_dump(bzopen($fp, "w"));
37 var_dump(bzopen($fp, "w"));
43 var_dump(bzopen($fp, "w"));
49 var_dump(bzopen($fp, "w"));
58 var_dump(bzopen($fp, "w"));
64 var_dump(bzopen($fp, "w"));
[all …]
/PHP-5.3/ext/pdo_oci/
H A Dphp_pdo_oci_int.h90 #define oci_init_error(w) _oci_error(H->err, dbh, NULL, w, H->last_err, TRUE, __FILE__, __LINE__ TS… argument
91 #define oci_drv_error(w) _oci_error(H->err, dbh, NULL, w, H->last_err, FALSE, __FILE__, __LINE__ TS… argument
92 #define oci_stmt_error(w) _oci_error(S->err, stmt->dbh, stmt, w, S->last_err, FALSE, __FILE__, __LI… argument
/PHP-5.3/ext/pcre/pcrelib/testdata/
H A Dtestoutput35 /^[\w]+/
11 /^[\w]+/Lfr_FR
15 /^[\w]+/
47 /^\w+/
53 /^\w+/Lfr_FR
85 /\w/IS
92 Q R S T U V W X Y Z _ a b c d e f g h i j k l m n o p q r s t u v w x y z
94 /\w/ISLfr_FR
101 Q R S T U V W X Y Z _ a b c d e f g h i j k l m n o p q r s t u v w x y z
137 /\w+/Lfr_FR
[all …]
/PHP-5.3/ext/mysqli/tests/
H A D072.phpt18 $w = $mysql->get_warnings();
20 var_dump($w->errno);
21 var_dump($w->message);
22 var_dump($w->sqlstate);
/PHP-5.3/ext/gd/libgd/
H A Dgd2time.c17 int x, y, w, h; in main() local
31 w = atoi (argv[5]); in main()
34 printf ("Extracting %d times from (%d, %d), size is %dx%d\n", c, x, y, w, h); in main()
46 im = gdImageCreateFromGd2Part (in, x, y, w, h); in main()
H A Dgdparttopng.c15 int x, y, w, h; in main() local
31 w = atoi (argv[5]); in main()
34 printf ("Extracting from (%d, %d), size is %dx%d\n", x, y, w, h); in main()
36 im = gdImageCreateFromGd2Part (in, x, y, w, h); in main()
H A Dgdtestft.c11 #define MAX4(x,y,z,w) \ argument
12 ((MAX((x),(y))) > (MAX((z),(w))) ? (MAX((x),(y))) : (MAX((z),(w))))
13 #define MIN4(x,y,z,w) \ argument
14 ((MIN((x),(y))) < (MIN((z),(w))) ? (MIN((x),(y))) : (MIN((z),(w))))
/PHP-5.3/ext/mbstring/libmbfl/filters/
H A Dmbfilter_jis.c119 int c1, s, w; in mbfl_filt_conv_jis_wchar() local
166 w = 0; in mbfl_filt_conv_jis_wchar()
168 if (w <= 0) { in mbfl_filt_conv_jis_wchar()
169 w = (c1 << 8) | c; in mbfl_filt_conv_jis_wchar()
170 w &= MBFL_WCSPLANE_MASK; in mbfl_filt_conv_jis_wchar()
177 w = 0; in mbfl_filt_conv_jis_wchar()
179 if (w <= 0) { in mbfl_filt_conv_jis_wchar()
180 w = (c1 << 8) | c; in mbfl_filt_conv_jis_wchar()
181 w &= MBFL_WCSPLANE_MASK; in mbfl_filt_conv_jis_wchar()
191 w = (c1 << 8) | c; in mbfl_filt_conv_jis_wchar()
[all …]
/PHP-5.3/sapi/cli/tests/
H A D007.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.3/ext/standard/tests/streams/
H A Dbug64770.phpt8 1 => array('pipe', 'w'), // stdout
9 2 => array('pipe', 'w'), // strerr
21 $w = $e = NULL;
22 $n = stream_select($pipes, $w, $e, 300);
/PHP-5.3/ext/openssl/tests/
H A Dbug48182.phpt29 $w = array();
31 if (stream_select($r, $w, $e, 1, 0) != 0)
35 $w = array($link);
36 if (stream_select($r, $w, $e, 1, 0) != 0)
60 $w = array();
62 if (stream_select($r, $w, $e, 1, 0) != 0)
/PHP-5.3/ext/standard/tests/url/
H A Dbase64_encode_basic_001.phpt238 0xD3: 0w==
242 0xD7: 1w==
246 0xDB: 2w==
250 0xDF: 3w==
254 0xE3: 4w==
258 0xE7: 5w==
262 0xEB: 6w==
266 0xEF: 7w==
270 0xF3: 8w==
274 0xF7: 9w==
[all …]

Completed in 31 milliseconds

12345678910>>...34