3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (@readfile('/foo') === false) { error_log('foo', 3, '/log.log'); } header('HTTP/1.1 404 Not Found'); echo "foo";
Output for git.master, git.master_jit, rfc.property-hooks
Warning: error_log(): open_basedir restriction in effect. File(/log.log) is not within the allowed path(s): (/tmp:/in:/etc) in /in/sunlJ on line 4 Warning: error_log(/log.log): Failed to open stream: Operation not permitted in /in/sunlJ on line 4 Warning: Cannot modify header information - headers already sent by (output started at /in/sunlJ:4) in /in/sunlJ on line 6 foo

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