PHP Error above/before <html> tags
Notice: Undefined variable: aboveHTMLTagError in /var/www/vhosts/example.com/httpdocs/test-phpErrorAlert-samplePhpErrors.php on line 13
Test
Normal html text:
Foo
Bar
Error inside the img tag (PHP error is not displayed in the page since it's inside an html element)
Broken Link because of PHP error ( invisible PHP error on line 16 )
Notice: Undefined variable: x in /var/www/vhosts/example.com/httpdocs/test-phpErrorAlert-samplePhpErrors.php on line 27
Warning: Division by zero in /var/www/vhosts/example.com/httpdocs/test-phpErrorAlert-samplePhpErrors.php on line 27
Echo this line
Warning: include(this file should not exist): failed to open stream: No such file or directory in /var/www/vhosts/example.com/httpdocs/test-phpErrorAlert-samplePhpErrors.php on line 30
Warning: include(this file should not exist): failed to open stream: No such file or directory in /var/www/vhosts/example.com/httpdocs/test-phpErrorAlert-samplePhpErrors.php on line 30
Warning: include(): Failed opening 'this file should not exist' for inclusion (include_path='.:') in /var/www/vhosts/example.com/httpdocs/test-phpErrorAlert-samplePhpErrors.php on line 30
Fatal error: Call to undefined function invalidFunction() in /var/www/vhosts/example.com/httpdocs/test-phpErrorAlert-samplePhpErrors.php on line 31