3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface A{ function __construct(Foo $f); } class B implements A { function __construct(Bar $b){} } class C{ function __construct(Foo $f){} } class D extends C { function __construct(Bar $b){} }
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Could not check compatibility between B::__construct(Bar $b) and A::__construct(Foo $f), because class Foo is not available in /in/rFttu on line 8
Process exited with code 255.

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:
60.91 ms | 401 KiB | 8 Q