--TEST-- Testing disk_total_space() functions : Usage Variations. --CONFLICTS-- disk_total_space --FILE-- getMessage(), "\n"; } $count++; } echo "*** Testing with Binary Input ***\n"; var_dump( disk_total_space(b"$file_path") ); echo"\n--- Done ---"; ?> --CLEAN-- --EXPECTF-- *** Testing with a directory *** float(%f) Testing for the return type *** bool(true) *** Testing with different directory combinations *** -- Iteration 1 -- float(%f) -- Iteration 2 -- float(%f) -- Iteration 3 -- float(%f) -- Iteration 4 -- float(%f) -- Iteration 5 -- float(%f) -- Iteration 6 -- float(%f) -- Iteration 7 -- float(%f) -- Iteration 8 -- float(%f) -- Iteration 9 -- disk_total_space(): Argument #1 ($directory) must not contain any null bytes -- Iteration 10 -- disk_total_space(): Argument #1 ($directory) must not contain any null bytes -- Iteration 11 -- disk_total_space(): Argument #1 ($directory) must not contain any null bytes -- Iteration 12 -- disk_total_space(): Argument #1 ($directory) must not contain any null bytes *** Testing with Binary Input *** float(%s) --- Done ---