3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo urlencode(json_encode(['ciao' => 'x', 'pippo' => 'pluto']));
Output for 5.4.0 - 7.1.0
%7B%22ciao%22%3A%22x%22%2C%22pippo%22%3A%22pluto%22%7D
Output for 5.3.0 - 5.3.29
Parse error: syntax error, unexpected '[', expecting ')' in /in/HEX42 on line 2
Process exited with code 255.