I have simple file ...i got the code from w3schools
When i tried to execute the code
fread() function doesn't return anything
first.php
<?php
error_reporting(E_ALL);
ini_set('display_errors', 1);
$file = fopen("test.php","r");
fread($file,filesize("test.php"));
?>
test.php
<?php
echo "Hello world";
?>
when i open localhost/first.php
the result is blank page