From:             seba at iq dot pl
Operating system: rh9
PHP version:      4.3.3RC2
PHP Bug Type:     Variables related
Bug description:  variables_order won't work as expected

Description:
------------
; Registration is done from left to right, newer 
; values override older values. 
 
variables_order = "EGPCS"       
register_globals = On      
 

Reproduce code:
---------------
start page - x.html:   
<form action='x.php?asd=xxx' method='post'>   
<input name='asd' type='text' value='yyy'>   
<input name='' type='submit' >   
</form>   
   
x.php:    
<? echo $asd; ?>

Expected result:
----------------
should be 'yyy' 

Actual result:
--------------
result is 'xxx' 

-- 
Edit bug report at http://bugs.php.net/?id=24883&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=24883&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=24883&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=24883&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=24883&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=24883&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=24883&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=24883&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=24883&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=24883&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=24883&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=24883&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24883&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=24883&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=24883&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=24883&r=gnused

Reply via email to