3v4l.org

run code in 300+ PHP versions simultaneously
<?php $email_invoices = ''; $x['invoices'] = '1765587|95.37||1407727800,1779463|6.01||1407727800,'; $invoice_bits = explode(',',$x['invoices']); for($i=0; $i<count($invoice_bits)-1; $i++) { $bits = explode('|', $invoice_bits[$i]); $email_invoices .= '<tr> <td style="padding-right: 10px;">'.$bits[0].'</td> <td style="padding-right: 10px;">'.$bits[2].'</td> <td style="padding-right: 10px;">'.$bits[1].'</td> </tr>'; } echo $email_invoices;
Output for git.master, git.master_jit, rfc.property-hooks
<tr> <td style="padding-right: 10px;">1765587</td> <td style="padding-right: 10px;"></td> <td style="padding-right: 10px;">95.37</td> </tr><tr> <td style="padding-right: 10px;">1779463</td> <td style="padding-right: 10px;"></td> <td style="padding-right: 10px;">6.01</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:
47.39 ms | 402 KiB | 8 Q