Mega Code Archive
Using extract with the EXTR_PREFIX_ALL directive
'Cylinder',
'N' => 'Rectangle',
'A' => 'Sphere',
'O' => 'Sphere',
'P' => 'Rectangle');
extract($shapes,EXTR_PREFIX_ALL,"shapes");
echo "Apple is $Apple.
";
echo "Shapes_Apple is $shapes_Apple";
echo "
";
echo "Shapes_NotePad is $shapes_NotePad";
?>