Searched refs:get_defined_constants (Results 1 – 13 of 13) sorted by relevance
2 Test get_defined_constants() function : basic functionality 5 /* Prototype : array get_defined_constants ([ bool $categorize ] )10 echo "*** Testing get_defined_constants() : basic functionality ***\n";12 var_dump(gettype(get_defined_constants(true)));13 var_dump(gettype(get_defined_constants()));15 $arr1 = get_defined_constants(false);16 $arr2 = get_defined_constants();19 $n1 = count(get_defined_constants());21 $arr2 = get_defined_constants();33 *** Testing get_defined_constants() : basic functionality ***
2 Test get_defined_constants() function : error conditions 5 /* Prototype : array get_defined_constants ([ bool $categorize ] )10 echo "*** Testing get_defined_constants() : error conditions ***\n";12 echo "\n-- Testing get_defined_constants() function with more than expected no. of arguments --\n";14 var_dump( get_defined_constants(true, $extra_arg) );19 *** Testing get_defined_constants() : error conditions ***21 -- Testing get_defined_constants() function with more than expected no. of arguments --23 Warning: get_defined_constants() expects at most 1 parameter, 2 given in %s on line 11
2 Bug #65291 - get_defined_constants() causes PHP to crash in a very limited case.19 get_defined_constants();20 get_defined_constants(true);
21 var_dump(get_defined_constants(true, true));22 var_dump(gettype(get_defined_constants(true)));23 var_dump(gettype(get_defined_constants()));24 var_dump(count(get_defined_constants()));63 Warning: get_defined_constants() expects at most 1 parameter, 2 given in %s on line %d
5 $defined_constants = get_defined_constants(true);
10 $constants = get_defined_constants(true);
15 $constants = get_defined_constants(true);
167 $constants = get_defined_constants();
14 foreach(get_defined_constants() as $constantName => $constantValue) {
13 $constants = get_defined_constants(true);
45 array_keys(get_defined_constants())
84 static ZEND_FUNCTION(get_defined_constants);297 ZEND_FE(get_defined_constants, arginfo_get_defined_constants)1954 ZEND_FUNCTION(get_defined_constants) in ZEND_FUNCTION() argument
3232 . Fixed bug #65291 (get_defined_constants() causes PHP to crash in a very7105 - Fixed bug #49223 (Inconsistency using get_defined_constants). (Garrett)7725 - Fixed bug #47549 (get_defined_constants() return array with broken array
Completed in 67 milliseconds