Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

array fill key use in php project

$string = 'hello|wild|world';
list($hello, , $world) = explode('|', $string);
echo("$hello, $world"); // hello, world
Source by code.tutsplus.com #
 
PREVIOUS NEXT
Tagged: #array #fill #key #php #project
ADD COMMENT
Topic
Name
7+7 =