note 26829 deleted from function.extract by sniper

From: Date: Sun, 13 Jul 2003 03:24:38 +0000
Subject: note 26829 deleted from function.extract by sniper
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-52010@lists.php.net to get a copy of this message
Note Submitter: fie@myrealbox.com ---- Please don't feel super stupid like me! when you do the fallowing extract($foo, EXTR_PREFIX_ALL, 'x_'); it won't return the array var as $x_bar it will be $x__bar. Remember when specifying a prefix that it automatically puts the underscore. I spent a whole day baffled at what was wrong.

« previous php.notes (#52010) next »