3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $text = "%u0410%u043D%u0430%u043B%u043E%u0433%u0438%u0447%u043D%u043E. %u0421%u0434%u0435%u043B%u0430%u0439%u0442%u0435 %u043D%u043E%u0440%u043C%u0430%u043B%u044C%u043D%u0443%u044E %u043D%u043E%u0432%u043E%u0441%u0442%u044C, %u0430 %u043D%u0435 %u0441%u0432%u043E%u0434%u043A%u0443 %u043E %u0414%u0422%u041F"; echo json_decode(str_replace('%u', '\\u', json_encode($text))); echo unescape($text) ?>
Output for 7.0.0 - 7.3.0rc4
Аналогично. Сделайте нормальную новость, а не сводку о ДТП Fatal error: Uncaught Error: Call to undefined function unescape() in /in/3Se3T:5 Stack trace: #0 {main} thrown in /in/3Se3T on line 5
Process exited with code 255.
Output for 5.2.2 - 5.6.28
Аналогично. Сделайте нормальную новость, а не сводку о ДТП Fatal error: Call to undefined function unescape() in /in/3Se3T on line 5
Process exited with code 255.
Output for 5.2.1
\u0410\u043D\u0430\u043B\u043E\u0433\u0438\u0447\u043D\u043E. \u0421\u0434\u0435\u043B\u0430\u0439\u0442\u0435 \u043D\u043E\u0440\u043C\u0430\u043B\u044C\u043D\u0443\u044E \u043D\u043E\u0432\u043E\u0441\u0442\u044C, \u0430 \u043D\u0435 \u0441\u0432\u043E\u0434\u043A\u0443 \u043E \u0414\u0422\u041F Fatal error: Call to undefined function unescape() in /in/3Se3T on line 5
Process exited with code 255.
Output for 5.2.0
Fatal error: Call to undefined function unescape() in /in/3Se3T on line 5
Process exited with code 255.
Output for 5.0.0 - 5.1.6
Fatal error: Call to undefined function json_decode() in /in/3Se3T 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/3Se3T 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/3Se3T 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/3Se3T on line 3