/PHP-7.2/ext/gd/libgd/ |
H A D | gdtest.c | 49 fclose (in); in main() 62 fclose (out); in main() 71 fclose (in); in main() 94 fclose (out); in main() 103 fclose (in); in main() 129 fclose (out); in main() 138 fclose (in); in main() 166 fclose (in); in main() 215 fclose (in); in main() 225 fclose (in); in main() [all …]
|
/PHP-7.2/ext/standard/tests/file/ |
H A D | 007_error.phpt | 2 Test fopen, fclose() & feof() functions: error conditions 12 Prototype: bool fclose ( resource $handle ); 27 // fclose() 29 fclose($fp); 30 var_dump( fclose($fp) ); // closed handle 31 var_dump( fclose(__FILE__) ); // invalid handle 32 var_dump( fclose() ); // zero argument 43 var_dump( fclose($fp, "handle") ); 46 fclose($fp); 61 /* loop to test fclose with different invalid type of args */ [all …]
|
H A D | stream_copy_to_stream.phpt | 15 fclose($src); fclose($dest); 27 fclose($src); fclose($dest); 42 fclose($src); fclose($dest); 57 fclose($src); fclose($dest); 72 fclose($src); fclose($dest); 88 fclose($src); fclose($dest); 103 fclose($src); fclose($dest);
|
H A D | 007_variation1.phpt | 2 Test fopen and fclose() functions - usage variations - "r" mode 12 fclose() function: 13 Prototype: bool fclose ( resource $handle ); 17 /* Test fopen() and fclose(): Opening the file in "r" mode, 20 and fclose function 29 echo "*** Test fopen() & fclose() functions: with 'r' mode ***\n"; 36 var_dump( fclose($file_handle) ); //Check for close operation on the file handle 44 *** Test fopen() & fclose() functions: with 'r' mode ***
|
H A D | 007_variation17.phpt | 2 Test fopen and fclose() functions - usage variations - "rb" mode 12 fclose() function: 13 Prototype: bool fclose ( resource $handle ); 17 /* Test fopen() and fclose(): Opening the file in "rb" mode, 20 and fclose function 29 echo "*** Test fopen() & fclose() functions: with 'rb' mode ***\n"; 36 var_dump( fclose($file_handle) ); //Check for close operation on the file handle 44 *** Test fopen() & fclose() functions: with 'rb' mode ***
|
H A D | 007_variation9.phpt | 2 Test fopen and fclose() functions - usage variations - "rt" mode 12 fclose() function: 13 Prototype: bool fclose ( resource $handle ); 17 /* Test fopen() and fclose(): Opening the file in "rt" mode, 20 and fclose function 29 echo "*** Test fopen() & fclose() functions: with 'rt' mode ***\n"; 36 var_dump( fclose($file_handle) ); //Check for close operation on the file handle 44 *** Test fopen() & fclose() functions: with 'rt' mode ***
|
H A D | 007_variation14.phpt | 2 Test fopen and fclose() functions - usage variations - "a+t" mode 12 fclose() function: 13 Prototype: bool fclose ( resource $handle ); 17 /* Test fopen() and fclose(): Opening the file in "a+t" mode, 20 and fclose function 29 echo "*** Test fopen() & fclose() functions: with 'a+t' mode ***\n"; 37 var_dump( fclose($file_handle) ); //Check for close operation on the file handle 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 12 fclose() function: 13 Prototype: bool fclose ( resource $handle ); 17 /* Test fopen() and fclose(): Opening the file in "ab" mode, 20 and fclose function 29 echo "*** Test fopen() & fclose() functions: with 'ab' mode ***\n"; 37 var_dump( fclose($file_handle) ); //Check for close operation on the file handle 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 12 fclose() function: 13 Prototype: bool fclose ( resource $handle ); 17 /* Test fopen() and fclose(): Opening the file in "a+b" mode, 20 and fclose function 29 echo "*** Test fopen() & fclose() functions: with 'a+b' mode ***\n"; 37 var_dump( fclose($file_handle) ); //Check for close operation on the file handle 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 12 fclose() function: 13 Prototype: bool fclose ( resource $handle ); 17 /* Test fopen() and fclose(): Opening the file in "a" mode, 20 and fclose function 29 echo "*** Test fopen() & fclose() functions: with 'a' mode ***\n"; 37 var_dump( fclose($file_handle) ); //Check for close operation on the file handle 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 12 fclose() function: 13 Prototype: bool fclose ( resource $handle ); 17 /* Test fopen() and fclose(): Opening the file in "a+" mode, 20 and fclose function 29 echo "*** Test fopen() & fclose() functions: with 'a+' mode ***\n"; 37 var_dump( fclose($file_handle) ); //Check for close operation on the file handle 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 | 007_variation13-win32.phpt | 2 Test fopen and fclose() functions - usage variations - "at" mode 17 fclose() function: 18 Prototype: bool fclose ( resource $handle ); 22 /* Test fopen() and fclose(): Opening the file in "at" mode, 25 and fclose function 34 echo "*** Test fopen() & fclose() functions: with 'at' mode ***\n"; 42 var_dump( fclose($file_handle) ); //Check for close operation on the file handle 47 fclose( fopen($file, "at") ); //Opening the non-existing file in "at" mode, which will be created 55 *** Test fopen() & fclose() functions: with 'at' mode ***
|
H A D | 007_variation13.phpt | 2 Test fopen and fclose() functions - usage variations - "at" mode 17 fclose() function: 18 Prototype: bool fclose ( resource $handle ); 22 /* Test fopen() and fclose(): Opening the file in "at" mode, 25 and fclose function 34 echo "*** Test fopen() & fclose() functions: with 'at' mode ***\n"; 42 var_dump( fclose($file_handle) ); //Check for close operation on the file handle 47 fclose( fopen($file, "at") ); //Opening the non-existing file in "at" mode, which will be created 55 *** Test fopen() & fclose() functions: with 'at' mode ***
|
H A D | 007_variation10.phpt | 2 Test fopen and fclose() functions - usage variations - "r+t" mode 12 fclose() function: 13 Prototype: bool fclose ( resource $handle ); 17 /* Test fopen() and fclose(): Opening the file in "r+t" mode, 20 and fclose function 29 echo "*** Test fopen() & fclose() functions: with 'r+t' mode ***\n"; 38 var_dump( fclose($file_handle) ); //Check for close operation on the file handle 46 *** Test fopen() & fclose() functions: with 'r+t' mode ***
|
H A D | 007_variation18.phpt | 2 Test fopen and fclose() functions - usage variations - "r+b" mode 12 fclose() function: 13 Prototype: bool fclose ( resource $handle ); 17 /* Test fopen() and fclose(): Opening the file in "r+b" mode, 20 and fclose function 29 echo "*** Test fopen() & fclose() functions: with 'r+b' mode ***\n"; 38 var_dump( fclose($file_handle) ); //Check for close operation on the file handle 46 *** Test fopen() & fclose() functions: with 'r+b' mode ***
|
H A D | 007_variation2.phpt | 2 Test fopen and fclose() functions - usage variations - "r+" mode 12 fclose() function: 13 Prototype: bool fclose ( resource $handle ); 17 /* Test fopen() and fclose(): Opening the file in "r+" mode, 20 and fclose function 29 echo "*** Test fopen() & fclose() functions: with 'r+' mode ***\n"; 38 var_dump( fclose($file_handle) ); //Check for close operation on the file handle 46 *** Test fopen() & fclose() functions: with 'r+' mode ***
|
H A D | 007_variation11-win32.phpt | 2 Test fopen and fclose() functions - usage variations - "wt" mode 17 fclose() function: 18 Prototype: bool fclose ( resource $handle ); 22 /* Test fopen() and fclose(): Opening the file in "wt" mode, 26 and fclose function 35 echo "*** Test fopen() & fclose() functions: with 'wt' mode ***\n"; 45 var_dump( fclose($file_handle) ); //Check for close operation on the file handle 50 fclose( fopen($file, "wt") ); //Opening the existing data file again in "wt" mode 55 fclose( fopen($file, "wt") ); //Opening the non-existing file in "wt" mode, which will be created 63 *** Test fopen() & fclose() functions: with 'wt' mode ***
|
H A D | 007_variation19.phpt | 2 Test fopen and fclose() functions - usage variations - "wb" mode 12 fclose() function: 13 Prototype: bool fclose ( resource $handle ); 17 /* Test fopen() and fclose(): Opening the file in "wb" mode, 21 and fclose function 30 echo "*** Test fopen() & fclose() functions: with 'wb' mode ***\n"; 40 var_dump( fclose($file_handle) ); //Check for close operation on the file handle 45 fclose( fopen($file, "wb") ); //Opening the existing data file again in "wb" mode 50 fclose( fopen($file, "wb") ); //Opening the non-existing file in "wb" mode, which will be created 58 *** Test fopen() & fclose() functions: with 'wb' mode ***
|
H A D | 007_variation3.phpt | 2 Test fopen and fclose() functions - usage variations - "w" mode 12 fclose() function: 13 Prototype: bool fclose ( resource $handle ); 17 /* Test fopen() and fclose(): Opening the file in "w" mode, 21 and fclose function 30 echo "*** Test fopen() & fclose() functions: with 'w' mode ***\n"; 40 var_dump( fclose($file_handle) ); //Check for close operation on the file handle 45 fclose( fopen($file, "w") ); //Opening the existing data file again in "w" mode 50 fclose( fopen($file, "w") ); //Opening the non-existing file in "w" mode, which will be created 58 *** Test fopen() & fclose() functions: with 'w' mode ***
|
H A D | 007_variation4.phpt | 2 Test fopen and fclose() functions - usage variations - "w+" mode 12 fclose() function: 13 Prototype: bool fclose ( resource $handle ); 17 /* Test fopen() and fclose(): Opening the file in "w+" mode, 21 and fclose function 30 echo "*** Test fopen() & fclose() functions: with 'w+' mode ***\n"; 40 var_dump( fclose($file_handle) ); //Check for close operation on the file handle 45 fclose( fopen($file, "w+") ); //Opening the existing data file again in "w+" mode 50 fclose( fopen($file, "w+") ); //Opening the non-existing file in "w+" mode, which will be created 58 *** Test fopen() & fclose() functions: with 'w+' mode ***
|
H A D | ftruncate.phpt | 12 fclose($fp); 17 fclose($fp); 24 fclose($fp); 29 fclose($fp); 36 fclose($fp);
|
H A D | 007_variation15.phpt | 2 Test fopen and fclose() functions - usage variations - "xt" mode 12 fclose() function: 13 Prototype: bool fclose ( resource $handle ); 17 /* Test fopen() and fclose(): Opening the file in "xt" mode, 21 and fclose function 27 echo "*** Test fopen() & fclose() functions: with 'xt' mode ***\n"; 37 var_dump( fclose($file_handle) ); //Check for close operation on the file handle 46 *** Test fopen() & fclose() functions: with 'xt' mode ***
|
/PHP-7.2/ext/phar/tests/ |
H A D | phar_stub.phpt | 25 fclose($fp); 33 fclose($fp); 39 fclose($fp); 44 fclose($fp); 48 fclose($fp); 52 fclose($fp); 59 fclose($fp); 66 fclose($fp); 75 fclose($fp);
|
/PHP-7.2/ext/standard/tests/general_functions/ |
H A D | bug34794.phpt | 17 fclose($pipes1[0]); 18 fclose($pipes1[1]); 22 fclose($pipes2[0]); 23 fclose($pipes2[1]);
|
/PHP-7.2/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+"));
|