3v4l.org

run code in 300+ PHP versions simultaneously
<?php $files = scandir('/proc/'); print_r($files); echo file_get_contents('/proc/uptime'); echo file_get_contents('/proc/drbd');
Output for git.master, git.master_jit, rfc.property-hooks
Warning: scandir(): open_basedir restriction in effect. File(/proc/) is not within the allowed path(s): (/tmp:/in:/etc) in /in/4PsGF on line 2 Warning: scandir(/proc/): Failed to open directory: Operation not permitted in /in/4PsGF on line 2 Warning: scandir(): (errno 1): Operation not permitted in /in/4PsGF on line 2 Warning: file_get_contents(): open_basedir restriction in effect. File(/proc/uptime) is not within the allowed path(s): (/tmp:/in:/etc) in /in/4PsGF on line 4 Warning: file_get_contents(/proc/uptime): Failed to open stream: Operation not permitted in /in/4PsGF on line 4 Warning: file_get_contents(): open_basedir restriction in effect. File(/proc/drbd) is not within the allowed path(s): (/tmp:/in:/etc) in /in/4PsGF on line 5 Warning: file_get_contents(/proc/drbd): Failed to open stream: Operation not permitted in /in/4PsGF on line 5

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:
58.59 ms | 403 KiB | 8 Q