3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = '{"outfits": [{"1": [{"category_id": "women_jeans", "product_id": 464540467}, {"category_id": "women_tops", "product_id": 487351815}, {"category_id": "women_coats", "product_id": 493322686}, {"category_id": "women_bags", "product_id": 483902882}, {"category_id": "women_shoes", "product_id": 492772225}]}]}'; $outfits = json_decode($json); var_dump($outfits->outfits[0]->category_id);
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined property: stdClass::$category_id in /in/LNgiU on line 6 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:
63.55 ms | 401 KiB | 8 Q