NYCPHP Meetup

NYPHP.org

[nycphp-talk] code ?

Urb LeJeune urb at e-government.com
Thu Jun 1 15:29:02 EDT 2006


Can someone explain $$_key = $_value  (I see it often in plugin functions in
Smarty dealing with passed parameters.)

foreach ($params as $_key=>$_value) {
         switch ($_key) {
             case 'loop':
                 $$_key = (array)$_value;   //   hmm....$$_key
                 break;

Thanks

Urb





More information about the talk mailing list