Home
last modified time | relevance | path

Searched refs:disk_total_space (Results 1 – 9 of 9) sorted by relevance

/PHP-5.5/ext/standard/tests/file/
H A Ddisk_total_space_error-win32.phpt2 Test disk_total_space() function : error conditions
11 * Prototype: float disk_total_space( string $directory );
19 var_dump( disk_total_space() ); // Zero Arguments
24 var_dump( disk_total_space( $file_path."/dir1" )); // Invalid directory
26 $fh = fopen( $file_path."/disk_total_space.tmp", "w" );
28 var_dump( disk_total_space( $file_path."/disk_total_space.tmp" )); // file input instead of directo…
36 unlink($file_path."/disk_total_space.tmp");
41 Warning: disk_total_space() expects exactly 1 parameter, 0 given in %s on line %d
44 Warning: disk_total_space() expects exactly 1 parameter, 2 given in %s on line %d
47 Warning: disk_total_space(): The system cannot find the path specified.
[all …]
H A Ddisk_total_space_error.phpt2 Test disk_total_space() function : error conditions
11 * Prototype: float disk_total_space( string $directory );
19 var_dump( disk_total_space() ); // Zero Arguments
21 var_dump( disk_total_space( $file_path, "extra argument") ); // More than valid number of arguments
24 var_dump( disk_total_space( $file_path."/dir1" )); // Invalid directory
26 $fh = fopen( $file_path."/disk_total_space.tmp", "w" );
28 var_dump( disk_total_space( $file_path."/disk_total_space.tmp" )); // file input instead of directo…
36 unlink($file_path."/disk_total_space.tmp");
41 Warning: disk_total_space() expects exactly 1 parameter, 0 given in %s on line %d
44 Warning: disk_total_space() expects exactly 1 parameter, 2 given in %s on line %d
[all …]
H A Ddisk_total_space_basic.phpt2 Test disk_total_space() function : basic functionality
6 * Prototype: float disk_total_space( string $directory );
15 var_dump( disk_total_space($file_path) );
18 $dir = "/disk_total_space";
21 var_dump( disk_total_space($file_path.$dir) );
22 $fh = fopen($file_path.$dir."/disk_total_space.tmp", "w");
28 var_dump( disk_total_space($file_path.$dir) );
35 unlink($file_path."/disk_total_space/disk_total_space.tmp");
36 rmdir($file_path."/disk_total_space");
H A Ddisk.phpt2 disk_total_space() and disk_free_space() tests
15 var_dump(disk_total_space());
18 var_dump(disk_total_space(-1));
21 var_dump(disk_total_space("/"));
24 var_dump(disk_total_space("/some/path/here"));
32 Warning: disk_total_space() expects exactly 1 parameter, 0 given in %s on line %d
38 Warning: disk_total_space(): No such file or directory in %s on line %d
46 Warning: disk_total_space(): No such file or directory in %s on line %d
H A Ddisk_total_space_variation.phpt2 Testing disk_total_space() functions : Usage Variations.
6 * Prototype: float disk_total_space( string directory )
15 var_dump( disk_total_space($file_path."/..") );
18 $return_value = disk_total_space($file_path);
22 $dir = "/disk_total_space";
52 var_dump( disk_total_space( $dir1 ) );
57 var_dump( disk_total_space(b"$file_path") );
65 rmdir($file_path."/disk_total_space");
103 Warning: disk_total_space() expects parameter 1 to be a valid path, string given in %s on line %d
108 Warning: disk_total_space() expects parameter 1 to be a valid path, string given in %s on line %d
[all …]
/PHP-5.5/ext/standard/
H A Dphp_filestat.h48 PHP_FUNCTION(disk_total_space);
H A Dfilestat.c232 PHP_FUNCTION(disk_total_space) in PHP_FUNCTION() argument
H A Dbasic_functions.c3249 PHP_FE(disk_total_space, arginfo_disk_total_space)
/PHP-5.5/
H A DNEWS8135 - Added error messages to disk_free_space() and disk_total_space() functions.

Completed in 52 milliseconds