3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $image = imagecreatetruecolor(180,40); // Écrit le texte et applique un floue gaussien sur l'image imagestring($image, 5, 10, 8, 'Texte floue goussien', 0x00ff00); $gaussian = array(array(1.0, 2.0, 1.0), array(2.0, 4.0, 2.0), array(1.0, 2.0, 1.0)); imageconvolution($image, $gaussian, 16, 0); header('Content-Type: image/png'); imagepng($image, null, 9);
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function imagecreatetruecolor() in /in/1XeSe:3 Stack trace: #0 {main} thrown in /in/1XeSe on line 3
Process exited with code 255.
Output for 5.3.22 - 5.6.28
Fatal error: Call to undefined function imagecreatetruecolor() in /in/1XeSe on line 3
Process exited with code 255.