Searched refs:get_declared_traits (Results 1 – 8 of 8) 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()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());
88 function get_declared_traits(): array {} function
250 ZEND_FUNCTION(get_declared_traits);312 ZEND_FE(get_declared_traits, arginfo_get_declared_traits)
1311 ZEND_FUNCTION(get_declared_traits) in ZEND_FUNCTION() argument
Completed in 21 milliseconds