How to disable strict PHP parser?

Solution:

When you have a syntax error in a PHP page, it will always immediately stop parsing. It’s the same thing as a compile error in languages such as C#, VB etc. There is no getting around this.

There are two ways you can suppress this error message. The first is with the error_reporting directive in your php.ini file. It’s likely set to E_ALL & ~E_DEPRECATED. You can fine tune what is reported (via error logging and out to the display) by configuring the directives located on the PHP Site.

The other (simpler) way to suppress these is via the display_errors directive in your php.ini file. Simply set this to Off and restart your web server and you won’t see these errors any longer – just a white page.