Home
last modified time | relevance | path

Searched refs:fclose (Results 1 – 25 of 1111) sorted by relevance

12345678910>>...45

/PHP-7.4/ext/gd/libgd/
H A Dgdtest.c49 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.4/ext/standard/tests/file/
H A D007_error.phpt2 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 Dstream_copy_to_stream.phpt15 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 D007_variation6.phpt2 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 D007_variation1.phpt2 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 D007_variation17.phpt2 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 D007_variation9.phpt2 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 D007_variation14.phpt2 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 D007_variation22.phpt2 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 D007_variation13-win32.phpt2 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 D007_variation13.phpt2 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 D007_variation21.phpt2 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 D007_variation5.phpt2 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 D007_variation10.phpt2 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 D007_variation18.phpt2 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 D007_variation2.phpt2 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 Dftruncate.phpt12 fclose($fp);
17 fclose($fp);
24 fclose($fp);
29 fclose($fp);
36 fclose($fp);
H A D007_variation4.phpt2 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 D007_variation8.phpt2 Test fopen and fclose() functions - usage variations - "x+" mode
12 fclose() function:
13 Prototype: bool fclose ( resource $handle );
17 /* Test fopen() and fclose(): Opening the file in "x+" mode,
21 and fclose function
27 echo "*** Test fopen() & fclose() functions: with 'x+' mode ***\n";
37 var_dump( fclose($file_handle) ); //Check for close operation on the file handle
46 *** Test fopen() & fclose() functions: with 'x+' mode ***
H A D007_variation11-win32-mb.phpt2 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
65 *** Test fopen() & fclose() functions: with 'wt' mode ***
H A D007_variation11-win32.phpt2 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 D007_variation11.phpt2 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 ***
/PHP-7.4/ext/phar/tests/
H A Dphar_stub.phpt25 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.4/Zend/tests/
H A Dbug68887.phpt5 fclose(fopen("php://temp","w+"));
7 fclose(fopen("php://temp","w+"));
9 fclose(fopen("php://temp","w+"));
/PHP-7.4/ext/standard/tests/general_functions/
H A Dbug34794.phpt17 fclose($pipes1[0]);
18 fclose($pipes1[1]);
22 fclose($pipes2[0]);
23 fclose($pipes2[1]);

Completed in 50 milliseconds

12345678910>>...45