3v4l.org

run code in 500+ PHP versions simultaneously
<?php namespace Doctrine\Common\Persistence { interface ObjectRepository { public function find($id); } } namespace Doctrine\ORM { use Doctrine\Common\Persistence\ObjectRepository; class EntityRepository implements ObjectRepository { public function find($id, $lockMode = null, $lockVersion = null) {} } } namespace { use Doctrine\ORM\EntityRepository; class MyRepository extends EntityRepository { public function find($id) {} } }
Output for rfc.property-hooks, git.master, git.master_jit
Fatal error: Declaration of MyRepository::find($id) must be compatible with Doctrine\ORM\EntityRepository::find($id, $lockMode = null, $lockVersion = null) in /in/2akM2 on line 26
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:
54.22 ms | 1669 KiB | 4 Q