Variable globale: utilisation de ‘extract($Global)’ 25 November 2011 Author: php pacificateur Download <?php $a = 1; function test() { extract($GLOBALS); $a = 12; } test(); // affiche "1" au lieu de "12" print $a; ?> Categories: Fonctions Tags: GLOBALS