3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(json_decode(' {"_index":"dwh","_type":"n/a","_id":"n/a","_version":1,"exists":true,"_source":{"cumulusId":2099411499044,"firstname":"Marcus","lastname":"Ficner","language":"1","sex":2,"email":"marcus.ficner@grandcentrix.net","salutation1":"Sehr geehrter Herr","salutation2":"Ficner","countryCode":"DE","code":"44137","residence":"Dortmund","birthday":"1982-12-15","address1":"","address2":"Steubenstraße 2","amountMonth":0.00,"amountPeriod":0.00,"pointsPeriod":23.000}}'));
Output for 5.3.7 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
object(stdClass)#1 (6) { ["_index"]=> string(3) "dwh" ["_type"]=> string(3) "n/a" ["_id"]=> string(3) "n/a" ["_version"]=> int(1) ["exists"]=> bool(true) ["_source"]=> object(stdClass)#2 (17) { ["cumulusId"]=> int(2099411499044) ["firstname"]=> string(6) "Marcus" ["lastname"]=> string(6) "Ficner" ["language"]=> string(1) "1" ["sex"]=> int(2) ["email"]=> string(30) "marcus.ficner@grandcentrix.net" ["salutation1"]=> string(18) "Sehr geehrter Herr" ["salutation2"]=> string(6) "Ficner" ["countryCode"]=> string(2) "DE" ["code"]=> string(5) "44137" ["residence"]=> string(8) "Dortmund" ["birthday"]=> string(10) "1982-12-15" ["address1"]=> string(0) "" ["address2"]=> string(18) "Steubenstraße 2" ["amountMonth"]=> float(0) ["amountPeriod"]=> float(0) ["pointsPeriod"]=> float(23) } }