3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data= '{ "pid": "81", "fname": "Parth", "lname": "Tandel", "pfname": "Parth", "plname": "Tandel", "userprofilephoto": "/Images/ProfilePictures/18/DSC_0164.JPG", "parentprofilephoto": "/Images/ProfilePictures/18/DSC_0164.JPG", "type": "ALBUM", "likescount": "1", "commentscount": "1", "sharecount": "0", "sharepid": null, "uaid": "18", "ownerid": "18", "parentid": null, "title": "newalbum2", "description": "", "sharedescription": null, "imagepath": null, "previewurl": null, "previewtitle": null, "previewshortdescription": null, "previewimageurl": null, "createdon": "2017-05-29 15:44:04", "posttype": "5", "comments": [ { "pcid": "21", "uaid": "31", "comment": "this is dope", "fname": "maulik", "lname": "kanani", "profPicturepath": "https://www.gravatar.com/avatar/003dbb32079ee5ff19ed75476f562bd1", "createdon": "2017-06-15 23:50:36" } ], "albumimages": [ { "imagepath": "/Images/18/Albums/newalbum2/Screenshot_from_2017-06-12_15-11-36.png" }, { "imagepath": "/Images/18/Albums/newalbum2/Screenshot_from_2017-06-12_15-11-361.png" }, { "imagepath": "/Images/18/Albums/newalbum2/Screenshot_from_2017-06-12_15-11-363.png" }, { "imagepath": "/Images/18/Albums/newalbum2/Screenshot_from_2017-06-12_15-11-364.png" }, { "imagepath": "/Images/18/Albums/newalbum2/Screenshot_from_2017-06-12_15-11-365.png" } ] }'; $data = json_decode($data, true); foreach($data["albumimages"] as $val){ echo $val["imagepath"] ."\n\n"; }
Output for git.master, git.master_jit, rfc.property-hooks
/Images/18/Albums/newalbum2/Screenshot_from_2017-06-12_15-11-36.png /Images/18/Albums/newalbum2/Screenshot_from_2017-06-12_15-11-361.png /Images/18/Albums/newalbum2/Screenshot_from_2017-06-12_15-11-363.png /Images/18/Albums/newalbum2/Screenshot_from_2017-06-12_15-11-364.png /Images/18/Albums/newalbum2/Screenshot_from_2017-06-12_15-11-365.png

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:
135.63 ms | 406 KiB | 5 Q