|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-10-20 20:21 UTC] scottmac@php.net
[2007-10-22 08:11 UTC] jani@php.net
[2007-10-30 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 07:00:01 2025 UTC |
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#