PHP Tutorial : List function
Jun 16, 2009 Useful PHP
Beeing surprised that I didn’t write here about this “cute” php function called list(). I like it a lot, it’s like the extract() function in some way if you remember.
The list() php function will assign variables in one shot to strings from arrays.
<?php
//here's the php array
$countingArray = array(1,2,3);
//here, the list function will convert 1 to…………….
Read PHP Tutorial : List function »
Tags: assign variables, list, php convert string into variable, php list, php list function

