/PHP-5.4/ext/mysqli/ |
H A D | mysqli_report.h | 48 #define MYSQLI_PROFILER_STARTTIME(ptr) if (MyG(profiler.mode)) gettimeofday(&ptr.starttime, NULL) 49 #define MYSQLI_PROFILER_ENDTIME(ptr) if (MyG(profiler.mode)) gettimeofday(&ptr.endtime, NULL) 50 #define MYSQLI_PROFILER_REPORT(_type, _time, ptr) if (MyG(profiler.mode)) php_mysqli_profiler_repor…
|
/PHP-5.4/ext/standard/tests/file/ |
H A D | 007_variation15.phpt | 2 Test fopen and fclose() functions - usage variations - "xt" mode 7 Prototype: resource fopen(string $filename, string $mode 17 /* Test fopen() and fclose(): Opening the file in "xt" mode, 20 checking for the warning msg when trying to open an existing file in "xt" mode, 27 echo "*** Test fopen() & fclose() functions: with 'xt' mode ***\n"; 28 $file_handle = fopen($file, "xt"); //opening the non-existing file in "xt" mode, file will be crea… 39 $file_handle = fopen($file, "xt"); //Opening the existing data file in 'xt' mode to check for the … 46 *** Test fopen() & fclose() functions: with 'xt' mode ***
|
H A D | 007_variation23.phpt | 2 Test fopen and fclose() functions - usage variations - "xb" mode 7 Prototype: resource fopen(string $filename, string $mode 17 /* Test fopen() and fclose(): Opening the file in "xb" mode, 20 checking for the warning msg when trying to open an existing file in "xb" mode, 27 echo "*** Test fopen() & fclose() functions: with 'xb' mode ***\n"; 28 $file_handle = fopen($file, "xb"); //opening the non-existing file in "xb" mode, file will be crea… 39 $file_handle = fopen($file, "xb"); //Opening the existing data file in 'xb' mode to check for the … 46 *** Test fopen() & fclose() functions: with 'xb' mode ***
|
H A D | 007_variation7.phpt | 2 Test fopen and fclose() functions - usage variations - "x" mode 7 Prototype: resource fopen(string $filename, string $mode 17 /* Test fopen() and fclose(): Opening the file in "x" mode, 20 checking for the warning msg when trying to open an existing file in "x" mode, 27 echo "*** Test fopen() & fclose() functions: with 'x' mode ***\n"; 28 $file_handle = fopen($file, "x"); //opening the non-existing file in "x" mode, file will be created 39 $file_handle = fopen($file, "x"); //Opening the existing data file in 'x' mode to check for the wa… 46 *** Test fopen() & fclose() functions: with 'x' mode ***
|
H A D | 007_variation8.phpt | 2 Test fopen and fclose() functions - usage variations - "x+" mode 7 Prototype: resource fopen(string $filename, string $mode 17 /* Test fopen() and fclose(): Opening the file in "x+" mode, 20 checking for the warning msg when trying to open an existing file in "x+" mode, 27 echo "*** Test fopen() & fclose() functions: with 'x+' mode ***\n"; 28 $file_handle = fopen($file, "x+"); //opening the non-existing file in "x+" mode, file will be crea… 39 $file_handle = fopen($file, "x+"); //Opening the existing data file in "x+" mode to check for the … 46 *** Test fopen() & fclose() functions: with 'x+' mode ***
|
H A D | filesize_variation4-win32.phpt | 2 Test filesize() function: usage variations - file mode & holes in file 24 echo "-- opening the file in 'w' mode and get the size --\n"; 32 echo "-- opening the file in 'wt' mode and get the size --\n"; 40 echo "-- opening the file in 'a' mode, adding data and checking the file --\n"; 47 echo "-- opening the file in 'at' mode, adding data and checking the file --\n"; 68 echo "-- opening the existing file in write mode --\n"; 90 -- opening the file in 'w' mode and get the size -- 93 -- opening the file in 'wt' mode and get the size -- 96 -- opening the file in 'a' mode, adding data and checking the file -- 98 -- opening the file in 'at' mode, adding data and checking the file -- [all …]
|
H A D | 007_variation1.phpt | 2 Test fopen and fclose() functions - usage variations - "r" mode 7 Prototype: resource fopen(string $filename, string $mode 17 /* Test fopen() and fclose(): Opening the file in "r" mode, 29 echo "*** Test fopen() & fclose() functions: with 'r' mode ***\n"; 30 $file_handle = fopen($file, "r"); //opening the file in "r" mode 44 *** Test fopen() & fclose() functions: with 'r' mode ***
|
H A D | 007_variation17.phpt | 2 Test fopen and fclose() functions - usage variations - "rb" mode 7 Prototype: resource fopen(string $filename, string $mode 17 /* Test fopen() and fclose(): Opening the file in "rb" mode, 29 echo "*** Test fopen() & fclose() functions: with 'rb' mode ***\n"; 30 $file_handle = fopen($file, "rb"); //opening the file in "rb" mode 44 *** Test fopen() & fclose() functions: with 'rb' mode ***
|
H A D | 007_variation9.phpt | 2 Test fopen and fclose() functions - usage variations - "rt" mode 7 Prototype: resource fopen(string $filename, string $mode 17 /* Test fopen() and fclose(): Opening the file in "rt" mode, 29 echo "*** Test fopen() & fclose() functions: with 'rt' mode ***\n"; 30 $file_handle = fopen($file, "rt"); //opening the file in "rt" mode 44 *** Test fopen() & fclose() functions: with 'rt' mode ***
|
H A D | fseek_ftell_rewind_basic2.phpt | 77 -- File opened in mode w -- 93 -- File opened in mode wb -- 109 -- File opened in mode wt -- 125 -- File opened in mode w+ -- 173 -- File opened in mode x -- 189 -- File opened in mode xb -- 205 -- File opened in mode xt -- 221 -- File opened in mode x+ -- 271 -- File opened in mode w -- 287 -- File opened in mode wb -- [all …]
|
H A D | fseek_ftell_rewind_basic1.phpt | 67 -- File opened in mode r -- 83 -- File opened in mode rb -- 99 -- File opened in mode rt -- 115 -- File opened in mode r+ -- 163 -- File opened in mode a -- 179 -- File opened in mode ab -- 195 -- File opened in mode at -- 211 -- File opened in mode a+ -- 261 -- File opened in mode r -- 277 -- File opened in mode rb -- [all …]
|
H A D | fseek_ftell_rewind_basic2-win32.phpt | 78 -- File opened in mode w -- 94 -- File opened in mode wb -- 110 -- File opened in mode wt -- 126 -- File opened in mode w+ -- 174 -- File opened in mode x -- 190 -- File opened in mode xb -- 206 -- File opened in mode xt -- 222 -- File opened in mode x+ -- 272 -- File opened in mode w -- 288 -- File opened in mode wb -- [all …]
|
H A D | 007_variation16.phpt | 2 Test fopen and fclose() functions - usage variations - "x+t" mode 7 Prototype: resource fopen(string $filename, string $mode 17 /* Test fopen() and fclose(): Opening the file in "x+t" mode, 20 checking for the warning msg when trying to open an existing file in "x+t" mode, 27 echo "*** Test fopen() & fclose() functions: with 'x+t' mode ***\n"; 28 $file_handle = fopen($file, "x+t"); //opening the non-existing file in "x+t" mode, file will be cr… 39 $file_handle = fopen($file, "x+t"); //Opening the existing data file in "x+t" mode to check for th… 46 *** Test fopen() & fclose() functions: with 'x+t' mode ***
|
H A D | 007_variation24.phpt | 2 Test fopen and fclose() functions - usage variations - "x+b" mode 7 Prototype: resource fopen(string $filename, string $mode 17 /* Test fopen() and fclose(): Opening the file in "x+b" mode, 20 checking for the warning msg when trying to open an existing file in "x+b" mode, 27 echo "*** Test fopen() & fclose() functions: with 'x+b' mode ***\n"; 28 $file_handle = fopen($file, "x+b"); //opening the non-existing file in "x+b" mode, file will be cr… 39 $file_handle = fopen($file, "x+b"); //Opening the existing data file in "x+b" mode to check for th… 46 *** Test fopen() & fclose() functions: with 'x+b' mode ***
|
H A D | filesize_variation4.phpt | 2 Test filesize() function: usage variations - file mode & holes in file 26 echo "-- opening the file in 'w' mode and get the size --\n"; 34 echo "-- opening the file in 'wt' mode and get the size --\n"; 42 echo "-- opening the file in 'a' mode, adding data and checking the file --\n"; 49 echo "-- opening the file in 'at' mode, adding data and checking the file --\n"; 70 echo "-- opening the existing file in write mode --\n"; 92 -- opening the file in 'w' mode and get the size -- 95 -- opening the file in 'wt' mode and get the size -- 98 -- opening the file in 'a' mode, adding data and checking the file -- 100 -- opening the file in 'at' mode, adding data and checking the file -- [all …]
|
H A D | 007_variation14.phpt | 2 Test fopen and fclose() functions - usage variations - "a+t" mode 7 Prototype: resource fopen(string $filename, string $mode 17 /* Test fopen() and fclose(): Opening the file in "a+t" mode, 29 echo "*** Test fopen() & fclose() functions: with 'a+t' mode ***\n"; 30 $file_handle = fopen($file, "a+t"); //opening the file "a+t" mode 41 fclose( fopen($file, "a+t") ); //Opening the non-existing file in "a+t" mode, which will be created 49 *** Test fopen() & fclose() functions: with 'a+t' mode ***
|
H A D | 007_variation21.phpt | 2 Test fopen and fclose() functions - usage variations - "ab" mode 7 Prototype: resource fopen(string $filename, string $mode 17 /* Test fopen() and fclose(): Opening the file in "ab" mode, 29 echo "*** Test fopen() & fclose() functions: with 'ab' mode ***\n"; 30 $file_handle = fopen($file, "ab"); //opening the file "ab" mode 42 fclose( fopen($file, "ab") ); //Opening the non-existing file in "ab" mode, which will be created 50 *** Test fopen() & fclose() functions: with 'ab' mode ***
|
H A D | 007_variation22.phpt | 2 Test fopen and fclose() functions - usage variations - "a+b" mode 7 Prototype: resource fopen(string $filename, string $mode 17 /* Test fopen() and fclose(): Opening the file in "a+b" mode, 29 echo "*** Test fopen() & fclose() functions: with 'a+b' mode ***\n"; 30 $file_handle = fopen($file, "a+b"); //opening the file "a+b" mode 41 fclose( fopen($file, "a+b") ); //Opening the non-existing file in "a+b" mode, which will be created 49 *** Test fopen() & fclose() functions: with 'a+b' mode ***
|
H A D | 007_variation5.phpt | 2 Test fopen and fclose() functions - usage variations - "a" mode 7 Prototype: resource fopen(string $filename, string $mode 17 /* Test fopen() and fclose(): Opening the file in "a" mode, 29 echo "*** Test fopen() & fclose() functions: with 'a' mode ***\n"; 30 $file_handle = fopen($file, "a"); //opening the file "a" mode 42 fclose( fopen($file, "a") ); //Opening the non-existing file in "a" mode, which will be created 50 *** Test fopen() & fclose() functions: with 'a' mode ***
|
H A D | 007_variation6.phpt | 2 Test fopen and fclose() functions - usage variations - "a+" mode 7 Prototype: resource fopen(string $filename, string $mode 17 /* Test fopen() and fclose(): Opening the file in "a+" mode, 29 echo "*** Test fopen() & fclose() functions: with 'a+' mode ***\n"; 30 $file_handle = fopen($file, "a+"); //opening the file "a+" mode 41 fclose( fopen($file, "a+") ); //Opening the non-existing file in "a+" mode, which will be created 49 *** Test fopen() & fclose() functions: with 'a+' mode ***
|
H A D | lstat_stat_variation13.phpt | 2 Test lstat() and stat() functions: usage variations - file opened using w and r mode 19 /* use stat on file created using "w" and "r" mode of fopen */ 27 echo "*** Checking stat() on a file opened using read/write mode ***\n"; 34 // opening file again in read mode 53 *** Checking stat() on a file opened using read/write mode ***
|
/PHP-5.4/ext/zlib/tests/ |
H A D | gzopen_variation4.phpt | 25 foreach($modes as $mode) { 26 test_gzopen($mode); 40 function test_gzopen($mode) { 48 echo "\n** testing with mode=$mode **\n"; 50 $h = gzopen($filename, $mode, true); 61 $h = gzopen($filename, $mode, true); 72 $h = gzopen($filename, $mode, true); 81 $h = gzopen($filename, $mode, true); 110 ** testing with mode=r ** 117 ** testing with mode=r+ ** [all …]
|
/PHP-5.4/ext/standard/tests/streams/ |
H A D | stream_get_meta_data_process_basic.phpt | 8 $mode = 'rb'; 9 $handle = popen($cmd, $mode); 23 ["mode"]=>
|
/PHP-5.4/ext/oci8/tests/ |
H A D | bug44206.phpt | 26 $mode = OCI_ASSOC | OCI_RETURN_NULLS; 27 $result = oci_fetch_array($s, $mode); 30 oci_fetch_array($result['A'], $mode); 31 oci_fetch_array($result['B'], $mode);
|
/PHP-5.4/ext/standard/tests/array/ |
H A D | sizeof_error.phpt | 5 /* Prototype : int sizeof(mixed $var[, int $mode] ) 18 echo "-- Testing sizeof() function with more than two arguments under COUNT_NORMAL mode --\n"; 22 echo "-- Testing sizeof() function with more than two arguments under COUNT_RECURSIVE mode --\n"; 33 -- Testing sizeof() function with more than two arguments under COUNT_NORMAL mode -- 37 -- Testing sizeof() function with more than two arguments under COUNT_RECURSIVE mode --
|