3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A {} class_alias('A', 'B'); function f1(A $a) { } function f2(B $b) { } $a = new A(); f1($a); f2($a); $b = new B(); f1($b); f2($b);
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:
49.43 ms | 1704 KiB | 4 Q