/PHP-5.3/ext/standard/tests/file/ |
H A D | 007_variation12.phpt | 2 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 D | 007_variation20.phpt | 2 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 D | is_executable_variation2.phpt | 10 $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 D | is_readable_variation2.phpt | 10 $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 D | is_writable_variation2.phpt | 10 $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 D | fwrite_basic-win32.phpt | 24 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 D | fwrite_basic.phpt | 24 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 D | fputcsv_variation1.phpt | 35 "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 D | fputcsv_variation11.phpt | 35 "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 D | fputcsv_variation12.phpt | 36 "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 D | fputcsv_variation5.phpt | 35 "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 D | utf8_to_utf16.c | 33 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 D | phpcredits.phpt | 25 %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 D | 002.phpt | 10 $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 D | php_pdo_oci_int.h | 90 #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 D | testoutput3 | 5 /^[\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 D | 072.phpt | 18 $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 D | gd2time.c | 17 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 D | gdparttopng.c | 15 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 D | gdtestft.c | 11 #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 D | mbfilter_jis.c | 119 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 D | 007.phpt | 2 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 D | bug64770.phpt | 8 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 D | bug48182.phpt | 29 $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 D | base64_encode_basic_001.phpt | 238 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 …]
|