ID:               34166
 Updated by:       [EMAIL PROTECTED]
 Reported By:      xuefer at 21cn dot com
-Status:           Open
+Status:           Assigned
 Bug Type:         Arrays related
 Operating System: gentoo linux
 PHP Version:      6CVS-2005-08-17 (CVS)
-Assigned To:      
+Assigned To:      andrei
 New Comment:

For Andrei, from Finland with love. :)


Previous Comments:
------------------------------------------------------------------------

[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

Reply via email to