Home
last modified time | relevance | path

Searched refs:get_declared_traits (Results 1 – 9 of 9) sorted by relevance

/PHP-8.2/ext/standard/tests/class_object/
H A Dget_declared_traits_basic_001.phpt2 Test get_declared_traits() function : basic functionality
5 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 --
H A Dget_declared_traits_variation1.phpt2 Test get_declared_traits() function : testing autoloaded traits
5 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 ***
/PHP-8.2/Zend/tests/traits/
H A Dget_declared_traits_004.phpt2 Testing get_declared_traits() and class_alias()
8 foreach (get_declared_traits() as $name) {
H A Dget_declared_traits_001.phpt2 Testing get_declared_traits()
12 var_dump(get_declared_traits());
H A Dget_declared_traits_002.phpt2 Testing get_declared_traits() inside namespace
12 var_dump(get_declared_traits());
H A Dget_declared_traits_003.phpt2 Testing get_declared_classes() and get_declared_traits()
12 var_dump(get_declared_traits());
/PHP-8.2/Zend/
H A Dzend_builtin_functions.stub.php123 function get_declared_traits(): array {} function
H A Dzend_builtin_functions_arginfo.h257 ZEND_FUNCTION(get_declared_traits);
320 ZEND_FE(get_declared_traits, arginfo_get_declared_traits)
H A Dzend_builtin_functions.c1272 ZEND_FUNCTION(get_declared_traits) in ZEND_FUNCTION() argument

Completed in 13 milliseconds