3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array ( 'code' => 200, 'data' => array ( array("itemId"=>"5ccd1fe6-b6fd-40da-9ee6-7bbe350c115e","number"=>"00056/29112017","summ"=>500000,"paymentStatus"=>"waiting for payment","description"=>"Пополнение счета мобильного телефона +79991231234",), ), ); echo jsonn_encode($a);
based on cRlnv
Output for 7.0.0 - 7.3.0rc3
Fatal error: Uncaught Error: Call to undefined function jsonn_encode() in /in/O1UIB:11 Stack trace: #0 {main} thrown in /in/O1UIB on line 11
Process exited with code 255.
Output for hhvm-3.22.0
Fatal error: Uncaught Error: Call to undefined function jsonn_encode() in /in/O1UIB:-1 Stack trace: #0 {main}
Process exited with code 255.
Output for hhvm-3.18.5 - 3.21.3
Fatal error: Uncaught Error: Call to undefined function jsonn_encode() in /in/O1UIB:11 Stack trace: #0 {main}
Process exited with code 255.
Output for 5.6.0 - 5.6.30
Fatal error: Call to undefined function jsonn_encode() in /in/O1UIB on line 11
Process exited with code 255.