From: c dot lohl at web dot de Operating system: Win2k Server PHP version: 4.3.7 PHP Bug Type: *Math Functions Bug description: Parser loses output of simple expression ending with an addition.
Description: ------------ The parser loses the first part of the output of an expression containig numbers and strings with a simple addition at the end. Environment: Win2k Server (SP4) with Apache 2.0.50 and PHP 4.3.7 (installed via TSW 3.3.3), no changes in php.ini (but the paths). Sorry if this information does not fit your needs, I'm totally new to PHP (found this problem reading a tutorial...) Reproduce code: --------------- <? echo "This doesn't work: <br>"; $i = 16; $j = 26; echo $i."+".$j."=".$i+$j; echo "<br> No problem with this: <br>"; $k = 42; echo $i."+".$j."=".$k; ?> Expected result: ---------------- Output: 16+28=42 Actual result: -------------- Output: 42 -- Edit bug report at http://bugs.php.net/?id=29459&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29459&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=29459&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=29459&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=29459&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=29459&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=29459&r=needscript Try newer version: http://bugs.php.net/fix.php?id=29459&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=29459&r=support Expected behavior: http://bugs.php.net/fix.php?id=29459&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=29459&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=29459&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=29459&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29459&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=29459&r=dst IIS Stability: http://bugs.php.net/fix.php?id=29459&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=29459&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=29459&r=float
