3v4l.org

run code in 300+ PHP versions simultaneously
<?php //ini_set("disable_functions", ''); //phpinfo(); //$dir = '/usr/bin/daemon'; $dir = '/var/log'; $files1 = scandir($dir); print_r($files1); //var_dump(file_get_contents("/var/log/pacman.log"));
Output for git.master, git.master_jit, rfc.property-hooks
Warning: scandir(): open_basedir restriction in effect. File(/var/log) is not within the allowed path(s): (/tmp:/in:/etc) in /in/Ykrm0 on line 6 Warning: scandir(/var/log): Failed to open directory: Operation not permitted in /in/Ykrm0 on line 6 Warning: scandir(): (errno 1): Operation not permitted in /in/Ykrm0 on line 6

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:
32.47 ms | 402 KiB | 8 Q