|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-05-30 09:58 UTC] tony2001@php.net
[2006-05-30 16:14 UTC] gallard at mmic dot net
[2006-05-30 16:19 UTC] tony2001@php.net
[2006-05-31 18:48 UTC] gallard at mmic dot net
[2006-05-31 18:52 UTC] gallard at mmic dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Dec 01 19:00:01 2025 UTC |
Description: ------------ Problem seen in PHP5.0.4 extract() will not extract an array element if the key name contain an accented character. In the following example, the third element is not extracted. Reproduce code: --------------- $x['aa']=1; $x['ae']=2; $x['a?']=3; $x['af']=4; extract($x); print_r( get_defined_vars()); Expected result: ---------------- Array ( [x] => Array ( [aa] => 1 [ae] => 2 [a?] => 3 [af] => 4 ) [aa] => 1 [ae] => 2 [a?] => 3 [af] => 4 ) Actual result: -------------- Array ( [x] => Array ( [aa] => 1 [ae] => 2 [a?] => 3 [af] => 4 ) [aa] => 1 [ae] => 2 [af] => 4 )