PHP/Development/Error Report
A Deliberate Error
<?php
error_reporting( E_ERROR | E_WARNING | E_PARSE );
$flag = 45;
if ( $flg == 45 )
print "I know that \$flag is 45";
else
print "I know that \$flag is NOT 45";
?>
<?php
error_reporting( E_ERROR | E_WARNING | E_PARSE );
$flag = 45;
if ( $flg == 45 )
print "I know that \$flag is 45";
else
print "I know that \$flag is NOT 45";
?>