3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array( 0 => '22/tcp', 1 => 'open', 2 => 'ssh', 3 => '80/tcp', 4 => 'open', 5 => 'http', 6 => '153/tcp', 7 => 'closed', 8 => 'unknown', 9 => '443/tcp', 10 => 'open', 11 => 'https' ); foreach ( array_chunk($array, 3) as $chunk ) { echo '<tr> <td>' . $chunk[0] . '</td> <td>' . $chunk[1] . '</td> <td>' . $chunk[2] . '</td> </tr>'; }
Output for git.master, git.master_jit, rfc.property-hooks
<tr> <td>22/tcp</td> <td>open</td> <td>ssh</td> </tr><tr> <td>80/tcp</td> <td>open</td> <td>http</td> </tr><tr> <td>153/tcp</td> <td>closed</td> <td>unknown</td> </tr><tr> <td>443/tcp</td> <td>open</td> <td>https</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:
65.96 ms | 402 KiB | 8 Q