syntax error causes segfault

From: Date: Tue, 01 Jun 1999 20:23:38 +0000
Subject: syntax error causes segfault
Groups: php.version4 
Request: Send a blank email to php-version4+get-1247@lists.php.net to get a copy of this message
this is working fine, of course: for ($j=0; $j<10; $j++) { $polje[$j] = $j; echo 'j='.$j.'<br>polje[j]='.$polje[$j].'.<br>'; // mark .'.<br> echo 'veličina polja' . count($polje) . '<br>'; } and this will kill the server (document contains no data, netscape says) for ($j=0; $j<10; $j++) { $polje[$j] = $j; echo 'j='.$j.'<br>polje[j]='.$polje[$j]'.<br>'; //missing dot before ' echo 'veličina polja' . count($polje) . '<br>'; } so... php should complain about irregular syntax -- v Davor Cengija davor@linuxfan.com ========================================== "No, thank you, please. I'm only lookin'."

« previous php.version4 (#1247) next »