3v4l.org

run code in 300+ PHP versions simultaneously
<?php $imgs = array('img 1','img 2','img 3','img 4','img 5','img 6'); $imgNames = array('name 1','name 2','name 3',); foreach($imgs as $files => $img) { if(!isset($imgNames[$files])) { $imgNames[$files] = 'no-name'; } echo 'Image: '.$img.' and Name: '.$imgNames[$files].'<br>'; } ?>
Output for git.master, git.master_jit, rfc.property-hooks
Image: img 1 and Name: name 1<br>Image: img 2 and Name: name 2<br>Image: img 3 and Name: name 3<br>Image: img 4 and Name: no-name<br>Image: img 5 and Name: no-name<br>Image: img 6 and Name: no-name<br>

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