What potential issue can arise when using disk_total_space with a specific directory path in PHP?

When using `disk_total_space` with a specific directory path in PHP, the potential issue that can arise is that the function may not work as expected if the directory path provided is invalid or inaccessible. To solve this issue, you can first check if the directory exists and is readable before calling `disk_total_space` on it.

$directory = '/path/to/directory';

if (is_dir($directory) && is_readable($directory)) {
    $total_space = disk_total_space($directory);
    echo "Total space in directory: " . $total_space;
} else {
    echo "Invalid or inaccessible directory path";
}