3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $s = array('bob'=>'run','sam'=>'walk','tom'=>'jump'); echo json_enconde($s);
Output for 7.0.0 - 7.3.0beta1
Fatal error: Uncaught Error: Call to undefined function json_enconde() in /in/hHYYA:4 Stack trace: #0 {main} thrown in /in/hHYYA on line 4
Process exited with code 255.
Output for 5.6.0 - 5.6.24
Fatal error: Call to undefined function json_enconde() in /in/hHYYA on line 4
Process exited with code 255.