3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $d = json_decode('{"res.wood":"\u0414\u0435\u0440\u0435\u0432\u043e","html.coins":"\u041c\u043e\u043d\u0435\u0442\u044b","html.community":"\u0421\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u043e","html.help":"\u041f\u043e\u043c\u043e\u0449\u044c","html.play":"\u0418\u0433\u0440\u0430\u0442\u044c","res.water":"\u0412\u043e\u0434\u0430","html.inv":"\u041f\u0440\u0438\u0433\u043b\u0430\u0441\u0438\u0442\u044c<br>\u0434\u0440\u0443\u0437\u0435\u0439"}', true); var_dump($d);
based on F2RJA
Output for 5.2.0 - 7.2.0
array(7) { ["res.wood"]=> string(12) "Дерево" ["html.coins"]=> string(12) "Монеты" ["html.community"]=> string(20) "Сообщество" ["html.help"]=> string(12) "Помощь" ["html.play"]=> string(12) "Играть" ["res.water"]=> string(8) "Вода" ["html.inv"]=> string(36) "Пригласить<br>друзей" }
Output for 5.0.0 - 5.1.6
Fatal error: Call to undefined function json_decode() in /in/SpaHY on line 3
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: json_decode() in /in/SpaHY on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: json_decode() in /in/SpaHY on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: json_decode() in /in/SpaHY on line 3