3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php //Source: https://bugs.php.net/bug.php?id=62437 function output($buffer) { global $object; return $buffer . $object; } ob_start('output'); $object = 'ertretre'; $test = $object; 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
<br /> <b>Fatal error</b>: fatal flex scanner internal error--end of buffer missed in <b>/in/klt2f</b> on line <b>14</b><br />
Process exited with code 255.