3v4l.org

run code in 300+ PHP versions simultaneously
<?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"}'); var_dump($d);
Output for 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.24 - 5.5.35, 5.6.8 - 5.6.28, 7.0.0 - 7.0.20, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.27, 8.2.0 - 8.2.17, 8.3.0 - 8.3.4
object(stdClass)#1 (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.0.5, 5.1.0 - 5.1.6
Fatal error: Call to undefined function json_decode() in /in/F2RJA 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/F2RJA on line 3
Process exited with code 255.
Output for 4.3.2 - 4.3.11, 4.4.0 - 4.4.4
Fatal error: Call to undefined function: json_decode() in /in/F2RJA 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/F2RJA on line 3

preferences:
258.3 ms | 401 KiB | 336 Q