3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array( array( 'id' => 1, 'automobile' => 'Mustang', 'coloroptions' => '[{"color":"red"},{"color":"blue"},{"color":"green"}]' ), ); print_r($a);
based on N0O8f
Output for 5.3.20 - 7.3.0beta1
Array ( [0] => Array ( [id] => 1 [automobile] => Mustang [coloroptions] => [{"color":"red"},{"color":"blue"},{"color":"green"}] ) )