<?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.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.28, 7.0.0 - 7.0.20, 7.1.0 - 7.1.10, 7.2.0 - 7.2.33, 7.3.12 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
- 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.0.5, 5.1.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.3.11, 4.4.0 - 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
preferences:
251.92 ms | 401 KiB | 354 Q