3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $json = '{"phone":"380957700418","countryip":"000","onus":"1","eci":"7","signature2":"0tzpVExt1TVydPWAh677A\/2Bv3o=","paddedcardno":"5xxxxxxxxxxx5658","responsecode":"1","countryphone":"000","comissionBp":"0.0","type":"11","merid":"I0110DQX","reasoncodedesc":"Approved, no balances available","ip":"217.117.64.236","countrybin":"000","time":"21\/08\/2013 16:43:25","authcode":"365832","orderid":"688","reasoncode":"1","acqid":"414963","signature":"vdQ8q8Mqsx0dFYC4zlpqojGGK7E="}'; var_dump(json_decode($json));
Output for 5.2.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
object(stdClass)#1 (20) { ["phone"]=> string(12) "380957700418" ["countryip"]=> string(3) "000" ["onus"]=> string(1) "1" ["eci"]=> string(1) "7" ["signature2"]=> string(28) "0tzpVExt1TVydPWAh677A/2Bv3o=" ["paddedcardno"]=> string(16) "5xxxxxxxxxxx5658" ["responsecode"]=> string(1) "1" ["countryphone"]=> string(3) "000" ["comissionBp"]=> string(3) "0.0" ["type"]=> string(2) "11" ["merid"]=> string(8) "I0110DQX" ["reasoncodedesc"]=> string(31) "Approved, no balances available" ["ip"]=> string(14) "217.117.64.236" ["countrybin"]=> string(3) "000" ["time"]=> string(19) "21/08/2013 16:43:25" ["authcode"]=> string(6) "365832" ["orderid"]=> string(3) "688" ["reasoncode"]=> string(1) "1" ["acqid"]=> string(6) "414963" ["signature"]=> string(28) "vdQ8q8Mqsx0dFYC4zlpqojGGK7E=" }
Output for 5.0.0 - 5.1.6
Fatal error: Call to undefined function json_decode() in /in/aO8vm 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/aO8vm 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/aO8vm 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/aO8vm on line 4