0
<?php

if(blablabla == randomtext){blablabla}

?>

this code is 100% wrong and no error report and blank page if i add correct echo statement the page still blank and no error report

<?php

if(blablabla == randomtext){blablabla}

echo "Test";

?>

i tried something like :

ini_set('display_errors', 1);
ini_set('error_reporting', E_ALL);

and

error_reporting(-1); // show all
ini_set('display_errors', 1);
require 'file_with_parse_error.php';

and

ini_set('display_errors',1);
ini_set('display_startup_errors',1);
error_reporting(-1);

and i edited the php.ini file and still no error and blank page

Asad Asa
  • 17
  • 8

0 Answers0