3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php error_reporting(0); class a { function a() { echo "CONSTRUCTOR CALLED\r\n"; } static function b($var) { return $var . 'x'; } } a::b();