ID:               43055
 Updated by:       [EMAIL PROTECTED]
 Reported By:      sebastien dot cabot at umontreal dot ca
-Status:           Open
+Status:           Feedback
 Bug Type:         Variables related
 Operating System: Linux
 PHP Version:      5.2.4
 New Comment:

Works fine for me too using latest CVS. 



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

[2007-10-20 20:21:36] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows (zip):
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip

For Windows (installer):

  http://snaps.php.net/win32/php5.2-win32-installer-latest.msi

I can't reproduce this with 5.2.5-dev

------------------------------------------------------------------------

[2007-10-20 19:52:24] sebastien dot cabot at umontreal dot ca

Description:
------------
extract() fail to treats keys as variable names when a key contains
ASCII characters from 127 through 255 (0x7f-0xff).

Reproduce code:
---------------
<?php
    $été = "#";
    $a = array('été' => '---');

    echo extract($a); /* Failure: return 0 instead of 1 */

    echo $été; /* Failure consequence, print '#' instead of '---' */
?>

Expected result:
----------------
1---

Actual result:
--------------
0#


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=43055&edit=1

Reply via email to