3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = json_decode('{"requestId":"546b384ce51f469a2e8b4567","numbers":{"917566559950":{"date":"2014-11-18 17:45:59","status":1,"desc":"DELIVERED"}}}',true); foreach($data['numbers'] as $key => $val){ foreach($val AS $key2 => $value){ echo $key2." is ".$value."\n"; } }
Output for git.master, git.master_jit, rfc.property-hooks
date is 2014-11-18 17:45:59 status is 1 desc is DELIVERED

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:
136.97 ms | 405 KiB | 5 Q