3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class a { public $test = "deuxieme"; } $object = new a(); function output($buffer) { global $object; return $buffer." ".$object->test; } ob_start('output'); echo "premier"; $a = range(1,10000); var_dump($a);