mirror of
https://github.com/php/php-src.git
synced 2026-04-23 07:58:20 +02:00
0158804a15
# __TRAIT__ behaves like __CLASS__ more or less but is constraint to traits. # Since traits are not types, there are not many valid use cases, and trying # to use __TRAIT__ to make traits more like classes is discouraged.