#25470 [NEW]: HTML_QuickForm bug in setDefaults, setConstants because of array_merge

From: Date: Wed, 10 Sep 2003 15:53:37 +0000
Subject: #25470 [NEW]: HTML_QuickForm bug in setDefaults, setConstants because of array_merge
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-21370@lists.php.net to get a copy of this message
From: bmansion at mamasam dot com Operating system: PHP version: 4.3.3 PHP Bug Type: PEAR related Bug description: HTML_QuickForm bug in setDefaults, setConstants because of array_merge Description: ------------ When the index in the array is a string like "1234567890", I mean containing only figures, array_merge will convert it to an int and change the index by resetting the value. 2 options: Make our own array_merge function. PHP Team fix array_merge so that it keep track of the index type. -- Edit bug report at http://bugs.php.net/?id=25470&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25470&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25470&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=25470&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=25470&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=25470&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=25470&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=25470&r=support Expected behavior: http://bugs.php.net/fix.php?id=25470&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=25470&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=25470&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=25470&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25470&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=25470&r=dst IIS Stability: http://bugs.php.net/fix.php?id=25470&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=25470&r=gnused

« previous php.pear.dev (#21370) next »