3v4l.org

run code in 300+ PHP versions simultaneously
<?php print_r(scandir("/etc")); echo file_get_contents("/etc/php.ini");
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => . [1] => .. [2] => arch-release [3] => crypttab [4] => fstab [5] => group [6] => gshadow [7] => host.conf [8] => hosts [9] => issue [10] => ld.so.conf [11] => ld.so.conf.d [12] => motd [13] => mtab [14] => nsswitch.conf [15] => pacman.d [16] => passwd [17] => php.ini [18] => php_archive.ini [19] => profile [20] => profile.d [21] => protocols [22] => resolv.conf [23] => securetty [24] => services [25] => shadow [26] => shells [27] => skel ) [PHP] ; proc_open is in here because resources somehow leak if not proc_closed ; ini_set should be in here too if you're concerned about security disable_functions = proc_open,phpinfo,mail open_basedir = /tmp:/in:/etc max_execution_time = 3 memory_limit = 64M enable_dl = Off ; for consistency of older versions allow_call_time_pass_reference = Off html_errors = Off extension=gmp.so extension=iconv.so extension=intl.so extension=bcmath.so ; extension=sodium.so zend_extension=opcache.so ; show all errors by default, if we'd lower this in the script we'll miss some parser notices error_reporting = -1 display_errors = On display_startup_errors = On log_errors = Off report_memleaks = On ; off in all any default php.ini short_open_tag = Off [Date] date.timezone = Europe/Amsterdam

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:
50.33 ms | 404 KiB | 8 Q