From: belankov at mail dot ru Operating system: Linux Ubuntu Jeos PHP version: 5.2CVS-2008-01-12 (snap) PHP Bug Type: Scripting Engine problem Bug description: Code executed twice
Description: ------------ Code on page executed twice. Every web request generates two 'a' in the file 'dump'. In CLI mode everything is ok. Reproduce code: --------------- <?php file_put_contents('dump','a',FILE_APPEND) ?> <table><td background=#> Expected result: ---------------- a Actual result: -------------- aa -- Edit bug report at http://bugs.php.net/?id=43827&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=43827&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=43827&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=43827&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=43827&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=43827&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=43827&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=43827&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=43827&r=needscript Try newer version: http://bugs.php.net/fix.php?id=43827&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=43827&r=support Expected behavior: http://bugs.php.net/fix.php?id=43827&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=43827&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=43827&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=43827&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=43827&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=43827&r=dst IIS Stability: http://bugs.php.net/fix.php?id=43827&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=43827&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=43827&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=43827&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=43827&r=mysqlcfg