3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a=array("m"=>10,"L"=>20,"XL"=>30,"XXL"=>10); $c=json_encode($a) echo $c; //echoing decode data from json $b=json_decode($c); echo $b; ?>
Output for 5.4.0 - 5.4.25
Parse error: syntax error, unexpected 'echo' (T_ECHO) in /in/j1dlf on line 4
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_ECHO in /in/j1dlf on line 4
Process exited with code 255.