3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?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;
Output for 4.3.0 - 5.0.5, 5.1.1 - 7.1.0
foo ertretre
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/o4too on line 13
Process exited with code 255.