|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull Requests
Pull requests:
HistoryAllCommentsChangesGit/SVN commits
[2017-11-02 20:06 UTC] nikic@php.net
[2017-11-02 20:06 UTC] nikic@php.net
-Status: Open
+Status: Closed
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 08:00:02 2025 UTC |
Description: ------------ The following snippet results in the "definition differs and is considered incompatible" fatal error in 5.6+. Can this be considered as a bug? const VALUE = true; trait Foo {public $var = VALUE;} trait Bar {public $var = VALUE;} class Baz {use Foo, Bar;} https://3v4l.org/kkHFe