3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $s = '"{"id":"57","name":"discernment","seoname":"discernment","address":"hemachatus cretinism goose step #4484","zipcode":"36103","city":"Cave Springs","state":"Ohio","country":"United States","website":"http:\\/\\/www.irreversible.com","email":"loungingjacket@gmail.com","telephones":"9432915","slogan":"guy genus rhizophora brattice spat","description":"stalker kick up manikin aneides lugubris emydidae fountain pen konrad zacharias lorenz genus gadus addressed lay order peronosporales division rhodophyta pan sequella retell take in water unceremoniousness scrape amphisbaena ellington lowest freya transition blotch genus anomia frog\'s-bit hylocereus amalgamate california dandelion receptor pincushion flower hugging development meuse dessiatine epidemiologic awkwardness call up cure note peck myrrh tree thousand and one nights intercourse darning needle cardiovascular disease","keywords":"fortify stretchable introduction life logical relation devil\'s walking stick jam casualty snorkel inside window dressing undogmatic"}"'; $d = json_decode($s); var_dump($d); var_dump(json_last_error());
Output for 5.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
NULL int(4)
Output for 5.2.0, 5.2.9 - 5.2.17
NULL Fatal error: Call to undefined function json_last_error() in /in/SGt6b on line 7
Process exited with code 255.
Output for 5.2.1 - 5.2.8
string(1025) "{"id":"57","name":"discernment","seoname":"discernment","address":"hemachatus cretinism goose step #4484","zipcode":"36103","city":"Cave Springs","state":"Ohio","country":"United States","website":"http:\/\/www.irreversible.com","email":"loungingjacket@gmail.com","telephones":"9432915","slogan":"guy genus rhizophora brattice spat","description":"stalker kick up manikin aneides lugubris emydidae fountain pen konrad zacharias lorenz genus gadus addressed lay order peronosporales division rhodophyta pan sequella retell take in water unceremoniousness scrape amphisbaena ellington lowest freya transition blotch genus anomia frog's-bit hylocereus amalgamate california dandelion receptor pincushion flower hugging development meuse dessiatine epidemiologic awkwardness call up cure note peck myrrh tree thousand and one nights intercourse darning needle cardiovascular disease","keywords":"fortify stretchable introduction life logical relation devil's walking stick jam casualty snorkel inside window dressing undogmatic"}" Fatal error: Call to undefined function json_last_error() in /in/SGt6b on line 7
Process exited with code 255.
Output for 5.0.0 - 5.1.6
Fatal error: Call to undefined function json_decode() in /in/SGt6b on line 5
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: json_decode() in /in/SGt6b on line 5
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: json_decode() in /in/SGt6b on line 5
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: json_decode() in /in/SGt6b on line 5