From:             hkb at hkb dot it
Operating system: Windows 2003
PHP version:      5.2.4RC1
PHP Bug Type:     Unknown/Other Function
Bug description:  Problems with æøå in extract()

Description:
------------
I Just updated PHP today from 5.2.0 to PHP 5.2.3 and found that extract()
didnt work if the array containes the danish letters "æ", "ø" or "å"...

Try running the code below ant you will see that $æ is empty when it
should be "2"...

I hope you will fix this bug for your next release...

Reproduce code:
---------------
$test[0] = array("e" => "2", "æ" => "2");

print_r($test[0]);

extract($test[0]);


echo "<br /><br />".$e." - ".$test[0]['e'];
echo "<br /><br />".$æ." - ".$test[0]['æ'];

Expected result:
----------------
Array ( [e] => 2 [æ] => 2 )

2 - 2

2 - 2

Actual result:
--------------
Array ( [e] => 2 [æ] => 2 )

2 - 2

- 2

-- 
Edit bug report at http://bugs.php.net/?id=42233&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=42233&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=42233&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=42233&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=42233&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=42233&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=42233&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=42233&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=42233&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=42233&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=42233&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=42233&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=42233&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=42233&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=42233&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=42233&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=42233&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=42233&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=42233&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=42233&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=42233&r=mysqlcfg

Reply via email to