#43827 [NEW]: Code executed twice

From: Date: Sat, 12 Jan 2008 21:34:34 +0000
Subject: #43827 [NEW]: Code executed twice
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-121235@lists.php.net to get a copy of this message
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


Thread (2 messages)

« previous php.bugs (#121235) next »