3v4l.org

run code in 500+ PHP versions simultaneously
<?php $fields = array ( 'media' => array ( 0 => '327', ), 'content' => array ( 0 => ' Custom test 1 ', 1 => ' Custom test 2 ', ), '_edit_lock' => array ( 0 => '1667908749:1', ), ); echo '<ul>'; foreach($fields as $key => $i) { if(in_array($key,array("_edit_lock", "_edit_last", "_thumbnail_id"))) continue; foreach($i as $value) { echo '<li>'.$value.'</li>'; } } echo '</ul>';
Output for rfc.property-hooks, git.master, git.master_jit
<ul><li>327</li><li> Custom test 1 </li><li> Custom test 2 </li></ul>

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:
29.32 ms | 1260 KiB | 4 Q