note 62786 added to function.extract

From: Date: Thu, 09 Mar 2006 16:13:29 +0000
Subject: note 62786 added to function.extract
Groups: php.notes 
Request: Send a blank email to php-notes+get-105149@lists.php.net to get a copy of this message
If you extract an array with keys containing ASCII charsacters 127 - 255 (é, à, ...)the correspondig variables do not get created! This migh be a bug. For example $my_array['hébergement'] = 'test1'; extract($my_array); // this is not working right! var_dump($hébergement); // gives you nothing! $hébergement = 'test2'; // this is right var_dump($hébergement); // gives you 'test2' value ---- Server IP: 66.163.161.117 Probable Submitter: 85.130.37.78 ---- X-Spam-Status: Yes, hits=7.4 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER, HEAD_ILLEGAL_CHARS autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.extract.php Edit -- http://master.php.net/note/edit/62786 Del: integrated -- http://master.php.net/note/delete/62786/integrated Del: useless -- http://master.php.net/note/delete/62786/useless Del: bad code -- http://master.php.net/note/delete/62786/bad+code Del: spam -- http://master.php.net/note/delete/62786/spam Del: non-english -- http://master.php.net/note/delete/62786/non-english Del: in docs -- http://master.php.net/note/delete/62786/in+docs Del: other reasons-- http://master.php.net/note/delete/62786 Reject -- http://master.php.net/note/reject/62786 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#105149) next »