3v4l.org

run code in 300+ PHP versions simultaneously
<?php $amountOfSubAltImages = 28; for($i = 0; $i < $amountOfSubAltImages; $i++) { $subImg_infoContainer[$i] = array(); } //Create the empty structure of the array template to fill with image data debug($subImg_infoContainer); for($i = 0; $i < $amountOfSubAltImages; $i++) { //0 = IMG_URL //1 = WIDTH //2 = HEIGHT //3 = ALT //4 = FIGCAP var_dump($subImg_infoContainer); $subImg_infoContainer[$i] = array(0 => $subImgUrls[$i], 1 => $subImgWidths[$i], 2 => $subImgHeights[$i], 3 => $subImgAltTxts[$i], 4 => $subImgFigCaps[$i]); }
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Call to undefined function debug() in /in/MgsXq:13 Stack trace: #0 {main} thrown in /in/MgsXq on line 13
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:
26.92 ms | 401 KiB | 8 Q