run code in 200+ PHP versions simultaneously
<?php class Foo { private $bar; public static function make() { $foo = new static; $foo->bar = 'Hello World!'; return $foo; } public function getBar() { return $this->bar; } } var_dump(Foo::make());

Shows result from various feature-branches currently under review from the php developers. Contact me to have additional branches featured.

Output for branch php-master
object(Foo)#1 (1) { ["bar":"Foo":private]=> string(12) "Hello World!" }
Output for branch php-master+opcache
object(Foo)#1 (1) { ["bar":"Foo":private]=> string(12) "Hello World!" }

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page