Jump to content

Where did PHP borrow the idea of Trait from?


Hall of Famer

Recommended Posts

Well we know that since version 5 was released, PHP has been borrowing concepts from Java and incorporating them into itself. Good examples are Static Property/Method, Abstract Class/Method, Final Class/Method, Interface, and then Namespace in PHP 5.3.x. I was wondering where Trait came from though, since apparently it is not available in Java. Is it a new concept PHP came out with on its own? Just curious.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.