Wondering how I should go about the next thing I typed a random string in a PHP file, between <? and ?>. I was curious what error this would produce, so I uploaded it and watched.
But no error, only a blank screen. Why? Does the PHP compiler ignore pieces of code that don’t look like PHP?
the PHP file:
<HTML>
<HEAD>
</HEAD>
<BODY>
<?
dsgaudiko
?>
</BODY>
</HTML>
See it in action here.
No, that means your error reporting is suppressed.
To watch the error message – http://codepad.viper-7.com/I0Fj9v
PHP Error Reporting