float(0)
float(1)
float(0)
-float(%d)
+float(%f)
Notice: Object of class test could not be converted to float in %s on line %d
float(1)
float(0)
float(1)
float(0)
-float(%d)
+float(%f)
Notice: Object of class test could not be converted to float in %s on line %d
float(1)
Warning: disk_total_space(): No such file or directory in %s on line %d
bool(false)
-float(%d)
-float(%d)
+float(%f)
+float(%f)
Warning: disk_free_space(): No such file or directory in %s on line %d
bool(false)
?>
--EXPECTF--
*** Testing with existing directory ***
-float(%d)
-float(%d)
+float(%f)
+float(%f)
*** Testing with newly created directory ***
Free Space before writing to a file
-float(%d)
+float(%f)
Free Space after writing to a file
-float(%d)
+float(%f)
Free Space Value Is Correct
*** Testing with Binary Input ***
-float(%d)
+float(%f)
--- Done ---
Warning: diskfreespace(): No such file or directory in %s on line %d
bool(false)
-float(%d)
-float(%d)
+float(%f)
+float(%f)
-- Done --
?>
--EXPECTF--
*** Testing with a directory ***
-float(%d)
-float(%d)
+float(%f)
+float(%f)
Testing for the return type ***
bool(true)
*** Testing with different directory combinations ***
-- Iteration 1 --
-float(%d)
-float(%d)
+float(%f)
+float(%f)
-- Iteration 2 --
-float(%d)
-float(%d)
+float(%f)
+float(%f)
-- Iteration 3 --
-float(%d)
-float(%d)
+float(%f)
+float(%f)
-- Iteration 4 --
-float(%d)
-float(%d)
+float(%f)
+float(%f)
-- Iteration 5 --
-float(%d)
-float(%d)
+float(%f)
+float(%f)
-- Iteration 6 --
-float(%d)
-float(%d)
+float(%f)
+float(%f)
-- Iteration 7 --
-float(%d)
-float(%d)
+float(%f)
+float(%f)
-- Iteration 8 --
-float(%d)
-float(%d)
+float(%f)
+float(%f)
-- Iteration 9 --
disk_free_space(): Argument #1 ($directory) must be a valid path, string given
?>
--EXPECTF--
*** Testing with normal directory ***
-float(%d)
+float(%f)
*** Testing with newly created directory ***
-float(%d)
+float(%f)
Total Space after writing to a file
-float(%d)
+float(%f)
-- Done --
Warning: disk_total_space(): No such file or directory in %s on line %d
bool(false)
-float(%d)
+float(%f)
--- Done ---
?>
--EXPECTF--
*** Testing with a directory ***
-float(%d)
+float(%f)
Testing for the return type ***
bool(true)
*** Testing with different directory combinations ***
-- Iteration 1 --
-float(%d)
+float(%f)
-- Iteration 2 --
-float(%d)
+float(%f)
-- Iteration 3 --
-float(%d)
+float(%f)
-- Iteration 4 --
-float(%d)
+float(%f)
-- Iteration 5 --
-float(%d)
+float(%f)
-- Iteration 6 --
-float(%d)
+float(%f)
-- Iteration 7 --
-float(%d)
+float(%f)
-- Iteration 8 --
-float(%d)
+float(%f)
-- Iteration 9 --
disk_total_space(): Argument #1 ($directory) must be a valid path, string given
string(6) "double"
-- Iteration 12 --
bool(true)
-float(%d)
+float(%f)
string(6) "double"
-- Iteration 13 --
bool(true)
-float(%d)
+float(%f)
string(6) "double"
-- Iteration 14 --
8: Object of class point could not be converted to float
string(6) "double"
-- Iteration 12 --
bool(true)
-float(%d)
+float(%f)
string(6) "double"
-- Iteration 13 --
bool(true)
-float(%d)
+float(%f)
string(6) "double"
-- Iteration 14 --
8: Object of class point could not be converted to float
bool(true)
float(0)
bool(true)
-float(%d)
+float(%f)
bool(true)
-float(%d)
+float(%f)
string(56) "Object of class stdClass could not be converted to float"
bool(true)
-float(%d)
+float(%f)
bool(true)
bool(true)
bool(true)