Edit report at https://bugs.php.net/bug.php?id=65040&edit=1
ID: 65040 Comment by: gnjagi at gmail dot com Reported by: gnjagi at gmail dot com Summary: No error message reported and entire script fails Status: Not a bug Type: Bug Package: *General Issues Operating System: windows PHP Version: Irrelevant Block user comment: N Private report: N New Comment: echo ddss"; This statement also returns no error and gives a blank page same as echos "ddss"; test "xccc"; Previous Comments: ------------------------------------------------------------------------ [2013-06-14 13:58:59] gnjagi at gmail dot com >From my end even if i set my error reporting to E_ALL | E_STRICT there is no >error message and nothing on the log file ------------------------------------------------------------------------ [2013-06-14 13:51:29] gnjagi at gmail dot com This error gives a blank screen gives no error message for if($eta!=''){ and if($eta!=''){$flt_type='1'} ------------------------------------------------------------------------ [2013-06-14 13:28:53] ras...@php.net You need to check where your errors are being logged to. This definitely generates an error. eg. <?php error_reporting(-1); if($eta!=''){$flt_type='1'} else {$flt_type='2'} Parse error: syntax error, unexpected '}' in test on line 3 ------------------------------------------------------------------------ [2013-06-14 13:24:37] gnjagi at gmail dot com Description: ------------ if($eta!=''){$flt_type='1'} else {$flt_type='2'} when the semicolons r missing on $flt_type='1' and $flt_type='2' the script gives no error message no matter the error reporting setting the page simply displays a blank page Test script: --------------- if($eta!=''){$flt_type='1'} else {$flt_type='2'} Expected result: ---------------- missing semicolons Actual result: -------------- blank page ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=65040&edit=1