note 62786 rejected from function.extract by betz

From: Date: Thu, 09 Mar 2006 16:16:08 +0000
Subject: note 62786 rejected from function.extract by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-105152@lists.php.net to get a copy of this message
Note Submitter: s at orionbg dot net ---- 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

« previous php.notes (#105152) next »