summaryrefslogtreecommitdiff
path: root/ext/standard/tests/file/disk_total_space_error-win32.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/file/disk_total_space_error-win32.phpt')
-rw-r--r--ext/standard/tests/file/disk_total_space_error-win32.phpt17
1 files changed, 0 insertions, 17 deletions
diff --git a/ext/standard/tests/file/disk_total_space_error-win32.phpt b/ext/standard/tests/file/disk_total_space_error-win32.phpt
index c280f5e064..7621fe1523 100644
--- a/ext/standard/tests/file/disk_total_space_error-win32.phpt
+++ b/ext/standard/tests/file/disk_total_space_error-win32.phpt
@@ -9,19 +9,8 @@ if(substr(PHP_OS, 0, 3) != 'WIN' )
disk_total_space
--FILE--
<?php
-/*
- * Prototype: float disk_total_space( string $directory );
- * Description: given a string containing a directory, this function
- * will return the total number of bytes on the corresponding
- * filesystem or disk partition
- */
-
echo "*** Testing error conditions ***\n";
$file_path = __DIR__;
-var_dump( disk_total_space() ); // Zero Arguments
-
-var_dump( disk_total_space( $file_path, "extra argument") ); // More than valid number of arguments
-
var_dump( disk_total_space( $file_path."/dir1" )); // Invalid directory
@@ -40,12 +29,6 @@ unlink($file_path."/disk_total_space.tmp");
--EXPECTF--
*** Testing error conditions ***
-Warning: disk_total_space() expects exactly 1 parameter, 0 given in %s on line %d
-NULL
-
-Warning: disk_total_space() expects exactly 1 parameter, 2 given in %s on line %d
-NULL
-
Warning: disk_total_space(): The system cannot find the path specified.
in %s on line %d
bool(false)