3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $array = array( array("type" => "shirt", "artnr" => "101400", "kleur" => "5000", "maten" => array(12 => "152", 2 => "164")); array("type" => "short", "artnr" => "1930", "kleur" => "1000", "maten" => array(12 => "152", 2 => "164")); ); $output = json_encode($array); var_dump($output);
Output for 5.3.0 - 5.4.23
Parse error: syntax error, unexpected ';', expecting ')' in /in/YHiZH on line 4
Process exited with code 255.