Bugs & Features

3v4l.org - online PHP & HHVM shell, execute code in 100+ different versions!

<?php $var="\u092e\u0941\u0930\u0932\u0940 \u0938\u093e\u0930"; echo json_decode("\"$var\""); // based on deceze's comment
Output for 5.2.2 - 5.6.6, php7@20140507 - 20150301, hhvm-3.3.1 - 3.4.0, hhvm-3.5.0 - 3.5.1
मुरली सार
Output for hhvm-3.4.1
Failed to initialize central HHBC repository: Failed to initialize schema in /tmp/hhbc.sq3: RepoQuery::step(repo=0x7fce5b8c8b00) error: 'CREATE TABLE main.magic_858757584_1418719773(product TEXT);' --> (10) disk I/O error Failed to open //.hhvm.hhbc: 14 - unable to open database file
Process exited with code 1.
Output for 5.2.1
\u092e\u0941\u0930\u0932\u0940 \u0938\u093e\u0930
Output for 5.2.0
Output for 5.0.0 - 5.0.5, 5.1.1 - 5.1.6
Fatal error: Call to undefined function json_decode() in /in/07ote on line 4
Process exited with code 255.
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/07ote on line 4
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: json_decode() in /in/07ote on line 4
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: json_decode() in /in/07ote on line 4
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: json_decode() in /in/07ote on line 4