Skip to main content
The 2024 Developer Survey results are live! See the results

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • error_reporting(E_ALL | E_STRICT); for earlier versions of PHP
    – Geo
    Commented Aug 15, 2013 at 21:42
  • 3
    Some IDEs (like NetBeans) not only support syntax highlighting but also code formatting. If you get into the habit of formatting your code properly and asking the IDE to reformat just in case from time to time you may catch hard to spot problems like unmatched braces. Commented May 21, 2015 at 19:20