3v4l.org

run code in 300+ PHP versions simultaneously
<?php class X { private $param1 = null; private $param2 = null; public static function createXInThisSpecificWay(int $withParam1, int $withParam2): self { $x = new X; $x->param1 = $withParam1; $x->param2 = $withParam2; // etc etc etc return $x; } } X::createXInThisSpecificWay(1, 2);
Output for git.master, git.master_jit, rfc.property-hooks

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

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


preferences:
95.61 ms | 1621 KiB | 4 Q