3v4l.org

run code in 300+ PHP versions simultaneously
<?php print_r($_SERVER); echo file_get_contents($_SERVER['DOCUMENT_ROOT']."/index.php");
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [TERM] => xterm [PATH] => /usr/bin:/bin [LANG] => C [SHELL] => /bin/sh [MAIL] => /var/mail/nobody [LOGNAME] => nobody [USER] => nobody [HOME] => /tmp [PHP_SELF] => /in/ZBZjn [SCRIPT_NAME] => /in/ZBZjn [SCRIPT_FILENAME] => /in/ZBZjn [PATH_TRANSLATED] => /in/ZBZjn [DOCUMENT_ROOT] => [REQUEST_TIME_FLOAT] => 1410849063.0001 [REQUEST_TIME] => 1410849063 [argv] => Array ( [0] => /in/ZBZjn ) [argc] => 1 ) Warning: file_get_contents(): open_basedir restriction in effect. File(/index.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/ZBZjn on line 3 Warning: file_get_contents(/index.php): Failed to open stream: Operation not permitted in /in/ZBZjn on line 3

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