| Bug #5695 | It appears from time to time without pattern :-/ | ||||
|---|---|---|---|---|---|
| Submitted: | 20 Jul 2000 2:35pm UTC | Modified: | 20 Jul 2000 2:38pm UTC | ||
| From: | kalle dot alm at home dot se | Assigned to: | |||
| Status: | Closed | Category: | Compile Failure | ||
| Version: | 4.0.0 | OS: | RedHat 6.2 linux | ||
[20 Jul 2000 2:38pm UTC] stas at cvs dot php dot net
Please upgdate to 4.0.1pl2. Seems that you have case of memory corruption here.

This works (a part of a bigger program): if( $inforow ){ // $inforow = mysql_fetch_row( blabla ); (line 87) do{ // (line 88) if( 3==4 ){ echo( "" ); } // couldn't solve prob so tried this... (line 89) // commented away previous code, lines 90-100 $cost = $row[1]; // $row = mysql_fetch_row( another blabla); (line 102) } } But THIS does NOT work (added a line): [code] if( 3==4 ){ echo( "" ); } // line from above, this worked (line 89) if( 1==1 ){ echo( "" ); } // this does NOT work! (new line 90) [code] These kind of "errors" seems to appear from time to time without notice. They sometimes produce a "Document contained no data", and sometimes they produce a "parse error" error-code. This is the error: "Parse error: parse error in /home/httpd/html/test.php on line 87" Without the "new line 90" the program works fine and produce the requested data. Very critical bug since the error can not be traced (since there is no error). Thank you for looking into this. /Kalle Alm