• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 846
  • Last Modified:

ini_set('display_errors', '1')

ini_set('display_errors', '0')
ini_set('display_errors', '1')

both display errors and warnings


what is command to overide php.ini
1. display errors and display warings
2. display no errors and display no warnings
0
rgb192
Asked:
rgb192
  • 2
2 Solutions
 
ray-solomonCommented:
ini_set('display_errors', 0);
ini_set('display_errors', 1);
0
 
ray-solomonCommented:
0 displays no warnings and 1 displays warnings.
0
 
Mohamed AbowardaSoftware EngineerCommented:
You might consider using error_reporting():
http://php.net/manual/en/function.error-reporting.php
0
 
rgb192Author Commented:
thanks
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now