Home
last modified time | relevance | path

Searched refs:disk_free_space (Results 1 – 14 of 14) sorted by relevance

/PHP-8.0/tests/security/
H A Dopen_basedir_disk_free_space.phpt9 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 …]
/PHP-8.0/ext/standard/tests/file/
H A Ddisk_free_space_error-win32.phpt2 Test disk_free_space and its alias diskfreespace() functions : error conditions
13 var_dump( disk_free_space( $file_path."/dir1" )); // Invalid directory
16 $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 directory
19 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 %d
39 Warning: disk_free_space(): The directory name is invalid in %s on line %d
H A Ddisk_free_space_error.phpt2 Test disk_free_space and its alias diskfreespace() functions : error conditions.
13 var_dump( disk_free_space( $file_path."/dir1" )); // Invalid directory
16 $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 directory
19 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
H A Ddisk_free_space_basic.phpt2 Test disk_free_space and its alias diskfreespace() functions : basic functionality
14 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");
H A Ddisk.phpt2 disk_total_space() and disk_free_space() tests
16 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 %d
36 Warning: disk_free_space(): No such file or directory in %s on line %d
H A Ddisk_free_space_variation.phpt2 Test disk_free_space and its alias diskfreespace() functions : Usage Variations
8 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 bytes
110 disk_free_space(): Argument #1 ($directory) must not contain any null bytes
114 disk_free_space(): Argument #1 ($directory) must not contain any null bytes
118 disk_free_space(): Argument #1 ($directory) must not contain any null bytes
H A Dftruncate_bug76422.phpt8 if (disk_free_space(__DIR__) <= 4.1 * 1024 * 1024 * 1024 ) {
H A Dbug81145.phpt7 if (disk_free_space(__DIR__) < 0x220000000) die("skip insuffient disk space");
/PHP-8.0/ext/standard/tests/dir/
H A Dbug71542.phpt9 disk_free_space($dir) !== false
/PHP-8.0/ext/ftp/tests/
H A Dftp_nb_get_large.phpt9 if (disk_free_space(__DIR__) < 10*1024*1024*1024) {
/PHP-8.0/sapi/cli/tests/
H A Dupload_2G.phpt11 if (disk_free_space(sys_get_temp_dir()) < 2300000000) {
/PHP-8.0/ext/standard/
H A Dfilestat.c283 PHP_FUNCTION(disk_free_space) in PHP_FUNCTION() argument
H A Dbasic_functions_arginfo.h2609 ZEND_FUNCTION(disk_free_space);
3248 ZEND_FE(disk_free_space, arginfo_disk_free_space)
3249 ZEND_FALIAS(diskfreespace, disk_free_space, arginfo_diskfreespace)
H A Dbasic_functions.stub.php930 function disk_free_space(string $directory): float|false {} function

Completed in 40 milliseconds