Searched refs:get_declared_traits (Results 1 – 9 of 9) sorted by relevance
2 Test get_declared_traits() function : basic functionality5 echo "*** Testing get_declared_traits() : basic functionality ***\n";10 echo "\n-- Testing get_declared_traits() function with Zero arguments --\n";11 var_dump(get_declared_traits());13 foreach (get_declared_traits() as $trait) {20 var_dump(in_array('MyTrait', get_declared_traits()));24 var_dump(in_array( 'I', get_declared_traits()));28 var_dump(in_array( 'MyClass', get_declared_traits()));34 *** Testing get_declared_traits() : basic functionality ***36 -- Testing get_declared_traits() function with Zero arguments --
2 Test get_declared_traits() function : testing autoloaded traits5 echo "*** Testing get_declared_traits() : testing autoloaded traits ***\n";12 var_dump(in_array('AutoTrait', get_declared_traits()));20 var_dump(in_array('AutoTrait', get_declared_traits()));26 *** Testing get_declared_traits() : testing autoloaded traits ***
2 Testing get_declared_traits() and class_alias()8 foreach (get_declared_traits() as $name) {
2 Testing get_declared_traits()12 var_dump(get_declared_traits());
2 Testing get_declared_traits() inside namespace12 var_dump(get_declared_traits());
2 Testing get_declared_classes() and get_declared_traits()12 var_dump(get_declared_traits());
135 function get_declared_traits(): array {} function
278 ZEND_FUNCTION(get_declared_traits);342 ZEND_FE(get_declared_traits, arginfo_get_declared_traits)
1403 ZEND_FUNCTION(get_declared_traits) in ZEND_FUNCTION() argument
Completed in 14 milliseconds