3v4l.org

run code in 300+ PHP versions simultaneously
<?php //Source: https://bugs.php.net/bug.php?id=62437 $_SERVER['REAL_URI'] = 'ertretre'; $GLOBALS['dzzz'] = 'sdfdsfds'; function output($buffer) { return $buffer . $GLOBALS['dzzz']; } ob_start('output'); echo "foo "; print_r($GLOBALS);
Output for git.master, git.master_jit, rfc.property-hooks
foo Array ( [_GET] => Array ( ) [_POST] => Array ( ) [_COOKIE] => Array ( ) [_FILES] => Array ( ) [argv] => Array ( [0] => /in/P432Z ) [argc] => 1 [_SERVER] => 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/P432Z [SCRIPT_NAME] => /in/P432Z [SCRIPT_FILENAME] => /in/P432Z [PATH_TRANSLATED] => /in/P432Z [DOCUMENT_ROOT] => [REQUEST_TIME_FLOAT] => 1391715026.0001 [REQUEST_TIME] => 1391715026 [argv] => Array ( [0] => /in/P432Z ) [argc] => 1 [REAL_URI] => ertretre ) [dzzz] => sdfdsfds ) sdfdsfds

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