#29721 [NEW]: Dynamic variables wrong after a POST
| From: | me at autourdupc dot com | Date: | Tue, 17 Aug 2004 13:35:34 +0000 |
| Subject: | #29721 [NEW]: Dynamic variables wrong after a POST | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-64784@lists.php.net to get a copy of this message | ||
From: me at autourdupc dot com
Operating system: Windows
PHP version: 4.3.8
PHP Bug Type: Variables related
Bug description: Dynamic variables wrong after a POST
Description:
------------
Using dynamic variables.
After a POST, variables initialized with a NULL value are not NULL.
Reproduce code:
---------------
http://www.autourdupc.com/bug.php.txt
Expected result:
----------------
If you enter a value in the first field and leave others blank.
After the post, only the first value must have the value.
Actual result:
--------------
Actually, all the variables have the same value.
--
Edit bug report at http://bugs.php.net/?id=29721&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29721&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=29721&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=29721&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=29721&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=29721&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=29721&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=29721&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=29721&r=support
Expected behavior: http://bugs.php.net/fix.php?id=29721&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=29721&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=29721&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=29721&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29721&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=29721&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=29721&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=29721&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=29721&r=float