bryanlloydharris
asked on
what is the array() function
Hi, in a piece of code, what is the array function and what does it do?
if(!is_array($copy)) $copy = array();
if(!is_array($copy)) $copy = array();
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
It's a language construct, just like list($a, $b) = array('valueForA', 'valueForB'); (syntax to set $a to 'valueForA', and $b to 'valueForB');
-r-
-r-
ASKER