3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Foo { public static function deleteMe($obj) { unset($obj); } } class Bar extends Foo { public function __construct() { $foo = new Foo(); \Foo:deleteMe($foo); } } $bar = new Bar();
Output for 5.3.0 - 5.4.26
Parse error: syntax error, unexpected ':' in /in/QHpUO on line 18
Process exited with code 255.