|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-08-17 19:29 UTC] sniper@php.net
[2005-08-20 09:56 UTC] xuefer at 21cn dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Dec 04 06:00:01 2025 UTC |
Description: ------------ broken after unicode patch merged Reproduce code: --------------- <?php function test() { extract(array('a' => 1, 'ab' => 1)); var_dump(get_defined_vars()); } test(); ?> Expected result: ---------------- ./sapi/cgi/php -dunicode_semantics=on a.php Content-type: text/html; charset=UTF-8 X-Powered-By: PHP/6.0.0-dev array(2) { [u"a"]=> int(1) [u"ab"]=> int(1) } Actual result: -------------- ./sapi/cgi/php -dunicode_semantics=on a.php Content-type: text/html; charset=UTF-8 X-Powered-By: PHP/6.0.0-dev array(2) { [u"a"]=> int(1) [u"a"]=> int(1) }