|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-08-07 14:57 UTC] jani@php.net
[2007-08-08 08:04 UTC] jani@php.net
[2007-08-10 12:16 UTC] jani@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 17:00:01 2025 UTC |
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