3v4l.org

run code in 300+ PHP versions simultaneously
<?php trait ATrait { public function __isset(string $name): bool { return false; } } trait BTrait { public function __isset(string $name): bool { return false; } } trait CTrait { use BTrait { __isset as private __c_isset; } } trait Model { use ATrait { __isset as private __a_isset; } use CTrait; public function __isset(string $name): bool { return false; } }
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: An alias was defined for method __isset(), which exists in both ATrait and CTrait. Use ATrait::__isset or CTrait::__isset to resolve the ambiguity in /in/8gZrO on line 23
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:
70.22 ms | 405 KiB | 5 Q