3v4l.org

run code in 300+ PHP versions simultaneously
<html> <body> <?php $file=fopen("a.txt","r") or exit("Unable to open file!"); ?> </body> </html> --------------------------------------------------------------------------------
Output for git.master, git.master_jit, rfc.property-hooks
<html> <body> Warning: fopen(): open_basedir restriction in effect. File(a.txt) is not within the allowed path(s): (/tmp:/in:/etc) in /in/JMKtj on line 5 Warning: fopen(a.txt): Failed to open stream: Operation not permitted in /in/JMKtj on line 5 Unable to open file!

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