error_reporting server level

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
user___
Forum Contributor
Posts: 297
Joined: Tue Dec 05, 2006 3:05 pm

error_reporting server level

Post by user___ »

Hi guys,
I have Php 5.x.x running on my Linux server but when I interpret a script containing a lot of errors I do not have them displayed. For example:
<?php
error_reporting(E_ALL);
prinstr(this is an error}:
whsirel({{{})))
-what an error
;;;
?>
I get not error messages.

Do you have any ideas about that behaviour?
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

Parse errors occur before error_reporting(E_ALL) is executed.
Post Reply