3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $json = ' {"twitter": [ {"identifier":1,"title":"hello","tags":["a","b","c"],"cats":["a","b","c"]}, {"identifier":2,"title":"semblance","tags":["a","b","c"],"cats":["a","b","c"]} ], "facebook": [ {"identifier":1,"title":"hello","tags":["a","b","c"],"cats":["a","b","c"]}, {"identifier":2,"title":"semblance","tags":["a","b","c"],"cats":["a","b","c"]}], "youtube": [ {"identifier":1,"title":"hello","tags":["a","b","c"],"cats":["a","b","c"]}, {"identifier":2,"title":"semblance","tags":["a","b","c"],"cats":["a","b","c"]}], "flickr": [ {"identifier":1,"title":"hello","tags":["a","b","c"],"cats":["a","b","c"]}, {"identifier":2,"title":"semblance","tags":["a","b","c"],"cats":["a","b","c"]}], "twitter": []}'; $args = json_decode($json); if(empty($args->shit)) { echo "empty"; } if(empty($args->flickr)) { echo "empty"; } foreach($args->flickr as $arg) { print_r($arg); print_r($arg->identifier); }
based on 4lrcX

Shows result from various feature-branches currently under review from the php developers. Contact me to have additional branches featured.

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