3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo phpinfo(1);
Output for 8.0.0 - 8.0.12, 8.0.14 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
Fatal error: Uncaught Error: Call to undefined function phpinfo() in /in/Y0PWI:2 Stack trace: #0 {main} thrown in /in/Y0PWI on line 2
Process exited with code 255.
Output for 8.0.13
phpinfo() PHP Version => 8.0.13 System => Linux php_shell 4.8.6-1-ARCH #1 SMP PREEMPT Mon Oct 31 18:51:30 CET 2016 x86_64 Build Date => Nov 18 2021 00:18:32 Build System => Linux phpbuild.debian 5.15.2-arch1-1 #1 SMP PREEMPT Fri, 12 Nov 2021 19:22:10 +0000 x86_64 GNU/Linux Configure Command => './configure' '--prefix=/usr' '--exec-prefix=/usr' '--without-pear' '--enable-mbstring' '--with-zlib' '--disable-cgi' '--with-curl=/usr' '--with-sodium=shared' '--without-curl' '--enable-intl=shared' '--enable-bcmath=shared' '--with-curl=shared' '--with-gmp=shared' '--with-iconv=shared' Server API => Command Line Interface Virtual Directory Support => disabled Configuration File (php.ini) Path => /usr/lib Loaded Configuration File => (none) Scan this dir for additional .ini files => (none) Additional .ini files parsed => (none) PHP API => 20200930 PHP Extension => 20200930 Zend Extension => 420200930 Zend Extension Build => API420200930,NTS PHP Extension Build => API20200930,NTS Debug Build => no Thread Safety => disabled Zend Signal Handling => enabled Zend Memory Manager => enabled Zend Multibyte Support => provided by mbstring IPv6 Support => enabled DTrace Support => disabled Registered PHP Streams => compress.zlib, php, file, glob, data, http, ftp, phar Registered Stream Socket Transports => tcp, udp, unix, udg Registered Stream Filters => zlib.*, string.rot13, string.toupper, string.tolower, convert.*, consumed, dechunk This program makes use of the Zend Scripting Language Engine: Zend Engine v4.0.13, Copyright (c) Zend Technologies 1
Output for 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.28, 7.0.0 - 7.0.20, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.31, 7.4.0 - 7.4.33
Warning: phpinfo() has been disabled for security reasons in /in/Y0PWI on line 2
Output for 7.3.33
phpinfo() PHP Version => 7.3.33 System => Linux php_shell 4.8.6-1-ARCH #1 SMP PREEMPT Mon Oct 31 18:51:30 CET 2016 x86_64 Build Date => Nov 17 2021 00:17:07 Configure Command => './configure' '--prefix=/usr' '--exec-prefix=/usr' '--without-pear' '--enable-mbstring' '--with-zlib' '--disable-cgi' '--with-curl=/usr' '--with-sodium=shared' '--without-curl' '--enable-intl=shared' '--enable-bcmath=shared' '--with-curl=shared' '--with-gmp=shared' '--with-iconv=shared' Server API => Command Line Interface Virtual Directory Support => disabled Configuration File (php.ini) Path => /usr/lib Loaded Configuration File => (none) Scan this dir for additional .ini files => (none) Additional .ini files parsed => (none) PHP API => 20180731 PHP Extension => 20180731 Zend Extension => 320180731 Zend Extension Build => API320180731,NTS PHP Extension Build => API20180731,NTS Debug Build => no Thread Safety => disabled Zend Signal Handling => enabled Zend Memory Manager => enabled Zend Multibyte Support => provided by mbstring IPv6 Support => enabled DTrace Support => disabled Registered PHP Streams => compress.zlib, php, file, glob, data, http, ftp, phar Registered Stream Socket Transports => tcp, udp, unix, udg Registered Stream Filters => zlib.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk This program makes use of the Zend Scripting Language Engine: Zend Engine v3.3.33, Copyright (c) 1998-2018 Zend Technologies 1
Output for 7.3.32
phpinfo() PHP Version => 7.3.32 System => Linux php_shell 4.8.6-1-ARCH #1 SMP PREEMPT Mon Oct 31 18:51:30 CET 2016 x86_64 Build Date => Oct 27 2021 00:11:43 Configure Command => './configure' '--prefix=/usr' '--exec-prefix=/usr' '--without-pear' '--enable-mbstring' '--with-zlib' '--disable-cgi' '--with-curl=/usr' '--with-sodium=shared' '--without-curl' '--enable-intl=shared' '--enable-bcmath=shared' '--with-curl=shared' '--with-gmp=shared' '--with-iconv=shared' Server API => Command Line Interface Virtual Directory Support => disabled Configuration File (php.ini) Path => /usr/lib Loaded Configuration File => (none) Scan this dir for additional .ini files => (none) Additional .ini files parsed => (none) PHP API => 20180731 PHP Extension => 20180731 Zend Extension => 320180731 Zend Extension Build => API320180731,NTS PHP Extension Build => API20180731,NTS Debug Build => no Thread Safety => disabled Zend Signal Handling => enabled Zend Memory Manager => enabled Zend Multibyte Support => provided by mbstring IPv6 Support => enabled DTrace Support => disabled Registered PHP Streams => compress.zlib, php, file, glob, data, http, ftp, phar Registered Stream Socket Transports => tcp, udp, unix, udg Registered Stream Filters => zlib.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk This program makes use of the Zend Scripting Language Engine: Zend Engine v3.3.32, Copyright (c) 1998-2018 Zend Technologies 1

preferences:
262.16 ms | 404 KiB | 343 Q