Searched refs:disk_free_space (Results 1 – 11 of 11) sorted by relevance
/PHP-5.5/tests/security/ |
H A D | open_basedir_disk_free_space.phpt | 9 test_open_basedir_before("disk_free_space"); 10 test_open_basedir_error("disk_free_space"); 12 var_dump(disk_free_space($initdir."/test/ok")); 13 test_open_basedir_after("disk_free_space"); 21 *** Testing open_basedir configuration [disk_free_space] *** 28 Warning: disk_free_space(): open_basedir restriction in effect. File(../bad) is not within the allo… 34 Warning: disk_free_space(): open_basedir restriction in effect. File(..) is not within the allowed … 37 Warning: disk_free_space(): open_basedir restriction in effect. File(../) is not within the allowed… 40 Warning: disk_free_space(): open_basedir restriction in effect. File(/) is not within the allowed p… 43 Warning: disk_free_space(): open_basedir restriction in effect. File(../bad/.) is not within the al… [all …]
|
/PHP-5.5/ext/standard/tests/file/ |
H A D | disk_free_space_error.phpt | 2 Test disk_free_space and its alias diskfreespace() functions : error conditions. 11 * Prototype: float disk_free_space( string directory ) 19 var_dump( disk_free_space() ); // Zero Arguments 26 var_dump( disk_free_space( $file_path."/dir1" )); // Invalid directory 29 $fh = fopen( $file_path."/disk_free_space.tmp", "w" ); 31 var_dump( disk_free_space( $file_path."/disk_free_space.tmp" )); // file input instead of directory 32 var_dump( diskfreespace( $file_path."/disk_free_space.tmp" )); 40 unlink($file_path."/disk_free_space.tmp"); 46 Warning: disk_free_space() expects exactly 1 parameter, 0 given in %s on line %d 52 Warning: disk_free_space() expects exactly 1 parameter, 2 given in %s on line %d [all …]
|
H A D | disk_free_space_error-win32.phpt | 2 Test disk_free_space and its alias diskfreespace() functions : error conditions 11 * Prototype: float disk_free_space( string directory ) 19 var_dump( disk_free_space() ); // Zero Arguments 26 var_dump( disk_free_space( $file_path."/dir1" )); // Invalid directory 29 $fh = fopen( $file_path."/disk_free_space.tmp", "w" ); 31 var_dump( disk_free_space( $file_path."/disk_free_space.tmp" )); // file input instead of directory 32 var_dump( diskfreespace( $file_path."/disk_free_space.tmp" )); 40 unlink($file_path."/disk_free_space.tmp"); 46 Warning: disk_free_space() expects exactly 1 parameter, 0 given in %s on line %d 58 Warning: disk_free_space(): The system cannot find the path specified. [all …]
|
H A D | disk.phpt | 2 disk_total_space() and disk_free_space() tests 14 var_dump(disk_free_space()); 17 var_dump(disk_free_space(-1)); 20 var_dump(disk_free_space("/")); 23 var_dump(disk_free_space("/some/path/here")); 29 Warning: disk_free_space() expects exactly 1 parameter, 0 given in %s on line %d 35 Warning: disk_free_space(): No such file or directory in %s on line %d 43 Warning: disk_free_space(): No such file or directory in %s on line %d
|
H A D | disk_free_space_basic.phpt | 2 Test disk_free_space and its alias diskfreespace() functions : basic functionality 12 * Prototype: float disk_free_space( string directory ) 21 var_dump( disk_free_space($file_path) ); 25 $dir = "/disk_free_space"; 28 $space1 = disk_free_space($file_path.$dir); 31 $fh = fopen($file_path.$dir."/disk_free_space.tmp", "a"); 37 $space2 = disk_free_space($file_path.$dir); 46 var_dump( disk_free_space(b"$file_path") ); 54 unlink($file_path."/disk_free_space/disk_free_space.tmp"); 55 rmdir($file_path."/disk_free_space");
|
H A D | disk_free_space_variation.phpt | 2 Test disk_free_space and its alias diskfreespace() functions : Usage Variations 6 * Prototype: float disk_free_space( string directory ) 15 var_dump( disk_free_space($file_path."/..") ); 19 $return_value = disk_free_space($file_path); 23 $dir = "/disk_free_space"; 51 var_dump( disk_free_space( $dir1 ) ); 62 rmdir($file_path."/disk_free_space"); 109 Warning: disk_free_space() expects parameter 1 to be a valid path, string given in %s on line %d 117 Warning: disk_free_space() expects parameter 1 to be a valid path, string given in %s on line %d 125 Warning: disk_free_space() expects parameter 1 to be a valid path, string given in %s on line %d [all …]
|
/PHP-5.5/ext/ftp/tests/ |
H A D | ftp_nb_get_large.phpt | 9 if (disk_free_space(__DIR__) < 10*1024*1024*1024) {
|
/PHP-5.5/ext/standard/ |
H A D | php_filestat.h | 49 PHP_FUNCTION(disk_free_space);
|
H A D | filestat.c | 367 PHP_FUNCTION(disk_free_space) in PHP_FUNCTION() argument
|
H A D | basic_functions.c | 3250 PHP_FE(disk_free_space, arginfo_disk_free_space) 3251 PHP_FALIAS(diskfreespace, disk_free_space, arginfo_disk_free_space)
|
/PHP-5.5/ |
H A D | NEWS | 8135 - Added error messages to disk_free_space() and disk_total_space() functions.
|
Completed in 53 milliseconds