3v4l.org

run code in 300+ PHP versions simultaneously
<?php class X { static function foo() { $t = "this"; $$t = 5; extract(array("this" => "foo", "that" => "bar")); var_dump($this, $that); } } (new X)->foo(); X::foo();

preferences:
34.72 ms | 402 KiB | 5 Q