3v4l.org

run code in 300+ PHP versions simultaneously
<?php $names = ['Sample','Big Buck Bunny 60fps 4K - Official Blender Foundation Short Film.mp4']; $hashid = ['JdpmLLdx5me7K','lWJQjwrVRZdXn']; $photoids = ['url_1_of_the_image','url_1_of_the_image']; $result = []; foreach ($names as $key => $value) { $result[$key] = array( 'name' => $names[$key], 'hashid' => $hashid[$key], 'photoid' => $photoids[$key], ); } foreach($result as $k => $v) { echo '<tr> <td>'.$k.'</td> <td>'.$v['name'].'</td> <td>'.$v['hashid'].'</td> <td>'.$v['photoid'].'</td> </tr>'; }
Output for git.master, git.master_jit, rfc.property-hooks
<tr> <td>0</td> <td>Sample</td> <td>JdpmLLdx5me7K</td> <td>url_1_of_the_image</td> </tr><tr> <td>1</td> <td>Big Buck Bunny 60fps 4K - Official Blender Foundation Short Film.mp4</td> <td>lWJQjwrVRZdXn</td> <td>url_1_of_the_image</td> </tr>

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:
98 ms | 406 KiB | 5 Q