3v4l.org

run code in 300+ PHP versions simultaneously
<?php while ($row = mysqli_fetch_array($aa, MYSQLI_ASSOC)) { $plotsOpenSpace2 = '111 222 333'; $plotsShell2 = '555 222 444'; $plotsOther2 = '000 999 666'; $entries = array($plotsOpenSpace2, $plotsShell2, $plotsOther2); $test = array(111, 222, 465, 555, 666, 777); foreach ($entries as $key => $entry) { $matches = array_intersect($test, $entry); if (count($matches) > 0) { $i ++; $objPHPExcel->getActiveSheet()->setCellValue('A' . $i, $row['exfreeformcompanyname'].' - '.implode(', ', $matches)); $objPHPExcel->getActiveSheet()->getStyle('A' . $i)->applyFromArray($styleArray)->getNumberFormat()->setFormatCode(PHPExcel_Style_NumberFormat::FORMAT_TEXT ); } } } ?>
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Call to undefined function mysqli_fetch_array() in /in/rVU9N:2 Stack trace: #0 {main} thrown in /in/rVU9N on line 2
Process exited with code 255.

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