Searched refs:disk_free_space (Results 1 – 14 of 14) sorted by relevance
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(%s) is not within the allowed …31 Warning: disk_free_space(): open_basedir restriction in effect. File(%s) is not within the allowed …34 Warning: disk_free_space(): open_basedir restriction in effect. File(%s) is not within the allowed …37 Warning: disk_free_space(): open_basedir restriction in effect. File(%s) is not within the allowed …40 Warning: disk_free_space(): open_basedir restriction in effect. File(%s) is not within the allowed …[all …]
2 Test disk_free_space and its alias diskfreespace() functions : error conditions13 var_dump( disk_free_space( $file_path."/dir1" )); // Invalid directory16 $fh = fopen( $file_path."/disk_free_space.tmp", "w" );18 var_dump( disk_free_space( $file_path."/disk_free_space.tmp" )); // file input instead of directory19 var_dump( diskfreespace( $file_path."/disk_free_space.tmp" ));27 unlink($file_path."/disk_free_space.tmp");33 Warning: disk_free_space(): The system cannot find the path specified in %s on line %d39 Warning: disk_free_space(): The directory name is invalid in %s on line %d
2 Test disk_free_space and its alias diskfreespace() functions : error conditions.13 var_dump( disk_free_space( $file_path."/dir1" )); // Invalid directory16 $fh = fopen( $file_path."/disk_free_space.tmp", "w" );18 var_dump( disk_free_space( $file_path."/disk_free_space.tmp" )); // file input instead of directory19 var_dump( diskfreespace( $file_path."/disk_free_space.tmp" ));27 unlink($file_path."/disk_free_space.tmp");33 Warning: disk_free_space(): No such file or directory in %s on line %d
2 Test disk_free_space and its alias diskfreespace() functions : basic functionality14 var_dump( disk_free_space($file_path) );18 $dir = "/disk_free_space";21 $space1 = disk_free_space($file_path.$dir);24 $fh = fopen($file_path.$dir."/disk_free_space.tmp", "a");30 $space2 = disk_free_space($file_path.$dir);41 var_dump( disk_free_space(b"$file_path") );48 unlink($file_path."/disk_free_space/disk_free_space.tmp");49 rmdir($file_path."/disk_free_space");
2 disk_total_space() and disk_free_space() tests16 var_dump(disk_free_space(-1));19 var_dump(disk_free_space("/"));22 var_dump(disk_free_space("/some/path/here"));28 Warning: disk_free_space(): No such file or directory in %s on line %d36 Warning: disk_free_space(): No such file or directory in %s on line %d
2 Test disk_free_space and its alias diskfreespace() functions : Usage Variations8 var_dump( disk_free_space($file_path."/..") );12 $return_value = disk_free_space($file_path);45 var_dump( disk_free_space( $dir1 ) );106 disk_free_space(): Argument #1 ($directory) must not contain any null bytes110 disk_free_space(): Argument #1 ($directory) must not contain any null bytes114 disk_free_space(): Argument #1 ($directory) must not contain any null bytes118 disk_free_space(): Argument #1 ($directory) must not contain any null bytes
8 if (disk_free_space(__DIR__) <= 4.1 * 1024 * 1024 * 1024 ) {
7 if (disk_free_space(__DIR__) < 0x220000000) die("skip insuffient disk space");
9 disk_free_space($dir) !== false
9 if (disk_free_space(__DIR__) < 10*1024*1024*1024) {
11 if (disk_free_space(sys_get_temp_dir()) < 2300000000) {
283 PHP_FUNCTION(disk_free_space) in PHP_FUNCTION() argument
2609 ZEND_FUNCTION(disk_free_space);3248 ZEND_FE(disk_free_space, arginfo_disk_free_space)3249 ZEND_FALIAS(diskfreespace, disk_free_space, arginfo_diskfreespace)
930 function disk_free_space(string $directory): float|false {} function
Completed in 40 milliseconds