note 110486 rejected from language.operators.type by googleguy

From: Date: Sat, 27 Oct 2012 15:46:19 +0000
Subject: note 110486 rejected from language.operators.type by googleguy
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-191562@lists.php.net to get a copy of this message
Note Submitter: Anonymous ---- How to check if a class use some traits? There is no type hinting for traits and instance-of doesn't work on traits. So actually there is no way to indicate a class use a trait or not and it's so bad.

« previous php.notes (#191562) next »