/PHP-7.0/ext/pcre/tests/ |
H A D | 004.phpt | 6 …(?:(?:unsigned|struct)\s+)?\w+)(?:\s*(\*+)\s+|\s+(\**))(\w+(?:\[\s*\w*\s*\])?)\s*(?:(=)[^,;]+)?((?… 9 var_dump(preg_match_all('/(?:\([^)]+\))?(&?)([\w>.()-]+(?:\[\w+\])?)\s*,?((?:\)*\s*=)?)/S', '&a, b,… 15 var_dump(preg_split('/PHP_(?:NAMED_)?(?:FUNCTION|METHOD)\s*\((\w+(?:,\s*\w+)?)\)/S', "PHP_FUNCTION(…
|
/PHP-7.0/ext/standard/tests/streams/ |
H A D | bug46024.phpt | 11 ,array(0 => array('pipe', 'r'), 1 => array('pipe', 'w')) 19 $w = array($pipes[0]); 21 $ret = stream_select($r, $w, $e, 1); 22 var_dump($ret === (count($r) + count($w))); 26 $w = array($pipes[0]); 28 $ret = stream_select($r, $w, $e, 1); 29 var_dump($ret === (count($r) + count($w)));
|
/PHP-7.0/ext/standard/tests/file/ |
H A D | 007_variation3.phpt | 2 Test fopen and fclose() functions - usage variations - "w" mode 17 /* Test fopen() and fclose(): Opening the file in "w" mode, 20 checking for the file truncation when trying to open an existing file in "w" mode, 26 create_files($file_path, 1, "text_with_new_line", 0755, 20, "w", "007_variation", 3, "bytes"); 30 echo "*** Test fopen() & fclose() functions: with 'w' mode ***\n"; 31 $file_handle = fopen($file, "w"); //opening the file "w" mode 43 var_dump( filesize($file) ); //Check for size of existing data file before opening the file in "w"… 45 fclose( fopen($file, "w") ); //Opening the existing data file again in "w" mode 46 var_dump( filesize($file) ); //Check for size of existing data file after opening the file in "w" … 50 fclose( fopen($file, "w") ); //Opening the non-existing file in "w" mode, which will be created [all …]
|
H A D | 007_variation4.phpt | 2 Test fopen and fclose() functions - usage variations - "w+" mode 17 /* Test fopen() and fclose(): Opening the file in "w+" mode, 20 checking for the file truncation when trying to open an existing file in "w+" mode, 26 create_files($file_path, 1, "text_with_new_line", 0755, 20, "w", "007_variation", 4, "bytes"); 30 echo "*** Test fopen() & fclose() functions: with 'w+' mode ***\n"; 31 $file_handle = fopen($file, "w+"); //opening the file "w+" mode 43 var_dump( filesize($file) ); //Check for size of existing data file before opening the file in "w+… 45 fclose( fopen($file, "w+") ); //Opening the existing data file again in "w+" mode 46 var_dump( filesize($file) ); //Check for size of existing data file after opening the file in "w+"… 50 fclose( fopen($file, "w+") ); //Opening the non-existing file in "w+" mode, which will be created [all …]
|
H A D | 007_variation12-win32.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_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 …]
|
/PHP-7.0/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_sjis_mac.c | 135 int c1, s, s1, s2, w; in mbfl_filt_conv_sjis_mac_wchar() local 170 w = 0; in mbfl_filt_conv_sjis_mac_wchar() 194 if (w == 0) { in mbfl_filt_conv_sjis_mac_wchar() 203 if (w == 0) { in mbfl_filt_conv_sjis_mac_wchar() 223 if (w == 0) { in mbfl_filt_conv_sjis_mac_wchar() 241 w = s2; in mbfl_filt_conv_sjis_mac_wchar() 252 if (w <= 0) { in mbfl_filt_conv_sjis_mac_wchar() 253 w = (s1 << 8) | s2; in mbfl_filt_conv_sjis_mac_wchar() 254 w &= MBFL_WCSPLANE_MASK; in mbfl_filt_conv_sjis_mac_wchar() 261 w = (c1 << 8) | c; in mbfl_filt_conv_sjis_mac_wchar() [all …]
|
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-7.0/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-7.0/ext/pcre/pcrelib/testdata/ |
H A D | wintestoutput3 | 1 /^[\w]+/ 7 /^[\w]+/Lfrench 11 /^[\w]+/ 43 /^\w+/ 49 /^\w+/Lfrench 81 /\w/IS 88 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 90 /\w/ISLfrench 97 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 134 /\w+/Lfrench [all …]
|
H A D | testoutput3 | 10 /^[\w]+/ 16 /^[\w]+/Lfr_FR 20 /^[\w]+/ 52 /^\w+/ 58 /^\w+/Lfr_FR 90 /\w/IS 97 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 99 /\w/ISLfr_FR 106 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 142 /\w+/Lfr_FR [all …]
|
/PHP-7.0/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-7.0/ext/pdo_oci/ |
H A D | php_pdo_oci_int.h | 92 #define oci_init_error(w) _oci_error(H->err, dbh, NULL, w, H->last_err, TRUE, __FILE__, __LINE__) argument 93 #define oci_drv_error(w) _oci_error(H->err, dbh, NULL, w, H->last_err, FALSE, __FILE__, __LINE__) argument 94 #define oci_stmt_error(w) _oci_error(S->err, stmt->dbh, stmt, w, S->last_err, FALSE, __FILE__, __LI… argument
|
/PHP-7.0/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-7.0/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-7.0/ext/pgsql/tests/ |
H A D | nonblocking.inc | 4 $r = [$stream]; $w = []; $e = []; 5 return (bool) stream_select($r, $w, $e, $timeout, 0); 8 $r = []; $w = [$stream]; $e = []; 9 return (bool) stream_select($r, $w, $e, $timeout, 0);
|
/PHP-7.0/Zend/tests/ |
H A D | bug68887.phpt | 5 fclose(fopen("php://temp","w+")); 7 fclose(fopen("php://temp","w+")); 9 fclose(fopen("php://temp","w+"));
|