- explode: documentation ( source)
<?php
$a = array(1,"2",'three'=>3);
$a = [1,"2",'three'=>3];
$pieces = explode(" ","red white blue");
echo $pieces[2];
echo explode(" ","red white blue")[2];// blue
echo ['big' => 'lots', 'time' => 'matters']['big'];