3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Requires the GD Library echo memory_get_usage()/1024/1024; imagecreatetruecolor(2516, 2448); echo memory_get_usage()/1024/1024;
Output for 7.4.0
0.36872863769531 Fatal error: Uncaught Error: Call to undefined function imagecreatetruecolor() in /in/IdPk4:5 Stack trace: #0 {main} thrown in /in/IdPk4 on line 5
Process exited with code 255.
Output for 7.3.0 - 7.3.12
0.36865234375 Fatal error: Uncaught Error: Call to undefined function imagecreatetruecolor() in /in/IdPk4:5 Stack trace: #0 {main} thrown in /in/IdPk4 on line 5
Process exited with code 255.
Output for 7.2.17 - 7.2.25
0.36489105224609 Fatal error: Uncaught Error: Call to undefined function imagecreatetruecolor() in /in/IdPk4:5 Stack trace: #0 {main} thrown in /in/IdPk4 on line 5
Process exited with code 255.
Output for 7.2.0
0.36492919921875 Fatal error: Uncaught Error: Call to undefined function imagecreatetruecolor() in /in/IdPk4:5 Stack trace: #0 {main} thrown in /in/IdPk4 on line 5
Process exited with code 255.
Output for 7.1.26 - 7.1.33
0.32985687255859 Fatal error: Uncaught Error: Call to undefined function imagecreatetruecolor() in /in/IdPk4:5 Stack trace: #0 {main} thrown in /in/IdPk4 on line 5
Process exited with code 255.
Output for 7.0.0 - 7.0.20, 7.1.0, 7.1.7
0.32992553710938 Fatal error: Uncaught Error: Call to undefined function imagecreatetruecolor() in /in/IdPk4:5 Stack trace: #0 {main} thrown in /in/IdPk4 on line 5
Process exited with code 255.
Output for 7.1.5 - 7.1.6
0.33001708984375 Fatal error: Uncaught Error: Call to undefined function imagecreatetruecolor() in /in/IdPk4:5 Stack trace: #0 {main} thrown in /in/IdPk4 on line 5
Process exited with code 255.
Output for 5.5.24 - 5.5.35, 5.6.7 - 5.6.28
0.20680999755859 Fatal error: Call to undefined function imagecreatetruecolor() in /in/IdPk4 on line 5
Process exited with code 255.
Output for 5.4.10 - 5.4.45
0.20730590820312 Fatal error: Call to undefined function imagecreatetruecolor() in /in/IdPk4 on line 5
Process exited with code 255.
Output for 5.4.0 - 5.4.9
0.20680236816406 Fatal error: Call to undefined function imagecreatetruecolor() in /in/IdPk4 on line 5
Process exited with code 255.
Output for 5.3.11 - 5.3.29
0.59062194824219 Fatal error: Call to undefined function imagecreatetruecolor() in /in/IdPk4 on line 5
Process exited with code 255.
Output for 5.3.0 - 5.3.10
0.59033203125 Fatal error: Call to undefined function imagecreatetruecolor() in /in/IdPk4 on line 5
Process exited with code 255.
Output for 5.2.10 - 5.2.17
0.073348999023438 Fatal error: Call to undefined function imagecreatetruecolor() in /in/IdPk4 on line 5
Process exited with code 255.
Output for 5.2.7 - 5.2.9
0.073661804199219 Fatal error: Call to undefined function imagecreatetruecolor() in /in/IdPk4 on line 5
Process exited with code 255.
Output for 5.2.3 - 5.2.6
0.073966979980469 Fatal error: Call to undefined function imagecreatetruecolor() in /in/IdPk4 on line 5
Process exited with code 255.
Output for 5.2.1 - 5.2.2
0.07196044921875 Fatal error: Call to undefined function imagecreatetruecolor() in /in/IdPk4 on line 5
Process exited with code 255.
Output for 5.0.0 - 5.0.5, 5.1.0 - 5.1.6, 5.2.0
Fatal error: Call to undefined function memory_get_usage() in /in/IdPk4 on line 3
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: memory_get_usage() in /in/IdPk4 on line 3
Process exited with code 255.
Output for 4.3.2 - 4.3.11, 4.4.0 - 4.4.4
Fatal error: Call to undefined function: memory_get_usage() in /in/IdPk4 on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: memory_get_usage() in /in/IdPk4 on line 3

preferences:
151.21 ms | 401 KiB | 205 Q