3v4l.org

run code in 300+ PHP versions simultaneously
<?php $body = array ( 'tags' => array ( 0 => array ( 'tag_id' => 70, 'tag_slug' => 'step-by-step-macintosh-training', 'tag_name' => 'step-by-step-macintosh-training', 'tag_description' => '', 'contact_count' => 4, 'show_as_preference' => 0 ), ), 'status' => 'success' ); $tags = array(); foreach ($body['tags'] as $tag) { $tags[] = array('tag_id'=>$tag['tag_id'], 'tag_name'=>$tag['tag_name']); } print_r($tags);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => Array ( [tag_id] => 70 [tag_name] => step-by-step-macintosh-training ) )

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:
46.44 ms | 1490 KiB | 4 Q