Searched refs:get_declared_traits (Results 1 – 7 of 7) sorted by relevance
2 Test get_declared_traits() function : error conditions5 /* Prototype : proto array get_declared_traits()11 echo "*** Testing get_declared_traits() : error conditions ***\n";14 echo "\n-- Testing get_declared_traits() function with one argument --\n";16 var_dump( get_declared_traits($extra_arg) );21 *** Testing get_declared_traits() : error conditions ***23 -- Testing get_declared_traits() function with one argument --25 Warning: get_declared_traits() expects exactly 0 parameters, 1 given in %s on line 13
2 Test get_declared_traits() function : basic functionality5 /* Prototype : proto array get_declared_traits()12 echo "*** Testing get_declared_traits() : basic functionality ***\n";17 echo "\n-- Testing get_declared_traits() function with Zero arguments --\n";18 var_dump(get_declared_traits());20 foreach (get_declared_traits() as $trait) {27 var_dump(in_array('MyTrait', get_declared_traits()));31 var_dump(in_array( 'I', get_declared_traits()));35 var_dump(in_array( 'MyClass', get_declared_traits()));41 *** Testing get_declared_traits() : basic functionality ***[all …]
2 Test get_declared_traits() function : testing autoloaded traits5 /* Prototype : proto array get_declared_traits()12 echo "*** Testing get_declared_traits() : testing autoloaded traits ***\n";19 var_dump(in_array('AutoTrait', get_declared_traits()));27 var_dump(in_array('AutoTrait', get_declared_traits()));33 *** 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());
66 static ZEND_FUNCTION(get_declared_traits);275 ZEND_FE(get_declared_traits, arginfo_zend__void)1791 ZEND_FUNCTION(get_declared_traits) in ZEND_FUNCTION() argument
Completed in 42 milliseconds