Jump to content

[SOLVED] PHP Not Reporting Errors


StormTheGates

Recommended Posts

I can not for the life of me get my php to report any erros. Ive tried editing the .ini, and manually setting on run time. Here is a test script I whipped up to make it throw an error to see if it reports:

 

<?php

error_reporting(8191);

echo "text"

?>

 

Now it should obviously say compile error for the lack of a ;. But it dosnt. Any ideas why?

Link to comment
https://forums.phpfreaks.com/topic/46893-solved-php-not-reporting-errors/
Share on other sites

I can not for the life of me get my php to report any erros. Ive tried editing the .ini, and manually setting on run time. Here is a test script I whipped up to make it throw an error to see if it reports:

 

<?php

error_reporting(8191);

echo "text"

?>

 

Now it should obviously say compile error for the lack of a ;. But it dosnt. Any ideas why?

 

The final ";" before the "?>" is implied therefore not an error

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.