3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface RequestInterface {} interface ResponseInterface {} class Request implements RequestInterface {} class Response implements ResponseInterface {} interface DelegateInterface { /** * Dispatch the next available middleware and return the response. * * @param RequestInterface $request * * @return ResponseInterface */ public function process(RequestInterface $request); } class Delegate implements DelegateInterface { public function process(RequestInterface $request): ResponseInterface { return new Response(); } } $delegate = new Delegate(); var_dump($delegate->process(new Request()));
Output for git.master, git.master_jit, rfc.property-hooks
object(Response)#3 (0) { }

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:
24.58 ms | 405 KiB | 5 Q