ID: 34166
User updated by: xuefer at 21cn dot com
Reported By: xuefer at 21cn dot com
-Status: Assigned
+Status: Closed
Bug Type: Arrays related
Operating System: gentoo linux
PHP Version: 6CVS-2005-08-17 (CVS)
Assigned To: andrei
New Comment:
looks like it's fixed in cvs.
Previous Comments:
------------------------------------------------------------------------
[2005-08-17 19:29:33] [EMAIL PROTECTED]
For Andrei, from Finland with love. :)
------------------------------------------------------------------------
[2005-08-17 10:13:45] xuefer at 21cn dot com
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)
}
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34166&edit=1