3v4l.org

run code in 500+ PHP versions simultaneously
<?php interface RouteCollectionInterface { public function add(string $from, $to, ?array $options = null): self; } class RouteCollection implements RouteCollectionInterface { public function add(string $from, $to, ?array $options = null) { } }
Output for rfc.property-hooks, git.master_jit, git.master
Fatal error: Declaration of RouteCollection::add(string $from, $to, ?array $options = null) must be compatible with RouteCollectionInterface::add(string $from, $to, ?array $options = null): RouteCollectionInterface in /in/n9AYI 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:
40.32 ms | 1144 KiB | 4 Q