PHP » GoLang |
login |
register |
about
|
class_uses(PHP 5 >= 5.4.0, PHP 7) class_uses — Return the traits used by the given class Description
This function returns an array with the names of the traits that the
given Parameters
Return Values
An array on success, or Examples
Example #1 class_uses() example
<?php The above example will output something similar to: Array ( [foo] => foo ) Array ( [foo] => foo ) Array ( [trait_of_not_loaded] => trait_of_not_loaded ) See Also
|
more
Recently updated
more
Most requested
more
Last requests
|