3v4l.org

run code in 300+ PHP versions simultaneously
<?php header("Content-type: image/png"); // erstellen eines leeren Bildes mit 400px Breite und 300px H?he $bild = imagecreatetruecolor(400, 300); // Hintergrundfarbe erstellen imagecolorallocate($bild, 150, 150, 0); // Farben festlegen $farbe1 = imagecolorallocate($bild, 255, 0, 0); // Viereck zeichen // mit folgenden Kordinaten (x1, y1, x2, y2, Farbe); imagefilledrectangle ($bild, 20, 75, 350,250, $farbe1); // Ausgabe des Bildes imagepng($bild); ?>
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Call to undefined function imagecreatetruecolor() in /in/Q3C2u:4 Stack trace: #0 {main} thrown in /in/Q3C2u on line 4
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:
64.54 ms | 401 KiB | 8 Q