3v4l.org

run code in 300+ PHP versions simultaneously
<?php $resp = '{"result":"SUCCESS","code":"3003","message":"Congratulations! You have been registered successfully to Wowcher.","data":{"alias":null,"tags":null,"apiLocationsVO":null,"apiAddressReferencesVO":null,"apiAddressVO":null,"apiDealsVO":null,"apiMultiLocationDealsVO":null,"apiDealVO":null,"apiFeaturedDealVO":null,"apiDealStatusVO":null,"apiRequestPurchase":null,"apiSubscriptionVO":null,"apiUserDealInfoVO":null,"isNewEmail":false,"apiAuthToken":null,"facebookStatus":null,"subscriptionsCount":"4","paypalDirectEnabled":null},"fieldErrors":null}'; $responseArray = json_decode($body, true); var_dump($responseArray['data']['isNewEmail']);
Output for git.master, git.master_jit
Warning: Undefined variable $body in /in/2g3JT on line 5 Deprecated: json_decode(): Passing null to parameter #1 ($json) of type string is deprecated in /in/2g3JT on line 5 Warning: Trying to access array offset on value of type null in /in/2g3JT on line 7 Warning: Trying to access array offset on value of type null in /in/2g3JT on line 7 NULL
Output for rfc.property-hooks
Warning: Undefined variable $body in /in/2g3JT on line 5 Deprecated: json_decode(): Passing null to parameter #1 ($json) of type string is deprecated in /in/2g3JT on line 5 Warning: Trying to access array offset on null in /in/2g3JT on line 7 Warning: Trying to access array offset on null in /in/2g3JT on line 7 NULL

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
61.15 ms | 401 KiB | 8 Q