3v4l.org

run code in 300+ PHP versions simultaneously
<?php //include('/etc/profile'); include('/tmp/perf-4890.map'); $dir = '/tmp/'; $files1 = scandir($dir); $files2 = scandir($dir, 1); print_r($files1); print_r($files2);
Output for git.master_jit, git.master, rfc.property-hooks
Warning: include(/tmp/perf-4890.map): Failed to open stream: No such file or directory in /in/rEqMs on line 9 Warning: include(): Failed opening '/tmp/perf-4890.map' for inclusion (include_path='.:') in /in/rEqMs on line 9 Array ( [0] => . [1] => .. ) Array ( [0] => .. [1] => . )

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:
42.32 ms | 401 KiB | 8 Q