3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dev_id = 1; $sop = array('1', '2', '3'); $insert_sop = ""; $it_sop = new ArrayIterator($sop); $c_sop = new CachingIterator($it_sop); foreach($c_sop as $ind_sop) { $insert_sop .= "($ind_sop, $dev_id)"; if ($c_sop->hasNext()) { $insert_sop .= ", "; } } echo $insert_rp; ?>
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined variable $insert_rp in /in/NZngl on line 15

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:
56.82 ms | 401 KiB | 8 Q