PHP - File Handling
Find the bug in this PHP code:
$file = 'report.pdf';
if (is_dir($file)) {
echo 'It is a directory';
} else {
echo 'It is not a directory';
}