3v4l.org

run code in 300+ PHP versions simultaneously
<?php file_put_contents('/tmp/foo⇒bar.txt', 'hello, world!'); foreach (new DirectoryIterator('/tmp') as $file) { echo file_get_contents($file); }
Output for git.master_jit, git.master, rfc.property-hooks
Warning: file_get_contents(): open_basedir restriction in effect. File(.) is not within the allowed path(s): (/tmp:/in:/etc) in /in/H4rMW on line 5 Warning: file_get_contents(.): Failed to open stream: Operation not permitted in /in/H4rMW on line 5 Warning: file_get_contents(): open_basedir restriction in effect. File(..) is not within the allowed path(s): (/tmp:/in:/etc) in /in/H4rMW on line 5 Warning: file_get_contents(..): Failed to open stream: Operation not permitted in /in/H4rMW on line 5 Warning: file_get_contents(): open_basedir restriction in effect. File(foo⇒bar.txt) is not within the allowed path(s): (/tmp:/in:/etc) in /in/H4rMW on line 5 Warning: file_get_contents(foo⇒bar.txt): Failed to open stream: Operation not permitted in /in/H4rMW 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:
51.54 ms | 403 KiB | 8 Q