3v4l.org

run code in 300+ PHP versions simultaneously
<?php //Source: https://bugs.php.net/bug.php?id=62437 function output($buffer) { $object = @$_SERVER['REAL_URI']; return $buffer . $object; } ob_start('output'); $_SERVER['REAL_URI'] = 'ertretre'; echo "foo "; //$test = $object;

preferences:
41.57 ms | 402 KiB | 5 Q