PHP Classes

hide syntax error

Recommend this page to a friend!

      Top level forums  >  PHP Specialists  >  General  >  hide syntax error  
Subject:hide syntax error
Summary:help me to hide syntax error
Messages:2
Author:nhat
Date:2009-03-02 04:34:17
Update:2009-03-02 05:30:14
 

  1. hide syntax error   Reply   Report abuse  
Picture of nhat nhat - 2009-03-02 04:40:14
<?php

//phpinfo();
error_reporting(0);
ini_set('display_errors', 'Off');
ini_set('display_startup_errors', 'Off');
//display_errors = Off;


echo "ffffffffffff"
echo "ffffffffffff"


?>
I have example.php file as that, and my purpose try to hide syntax error,so I used error_reporting(0),even I used ini_set('display_errors', 'Off');

But when i run example.php,the browser displayed "Parse error: parse error, expecting `','' or `';'' in C:\wamp\www\1info.php on line 11"

I didn't achieve my purpose,please help me

There is 1 reply in this thread, which is not being displayed.
Browsing this forum thread replies is available only to premium subscribers.


Go to the premium subscriptions page to learn how to become a premium subscriber and have full access to this forum.