Home
last modified time | relevance | path

Searched refs:get_defined_constants (Results 1 – 12 of 12) sorted by relevance

/PHP-5.5/ext/standard/tests/general_functions/
H A Dget_defined_constants_basic.phpt2 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 ***
H A Dget_defined_constants_error.phpt2 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
/PHP-5.5/Zend/tests/
H A Dbug65291.phpt2 Bug #65291 - get_defined_constants() causes PHP to crash in a very limited case.
19 get_defined_constants();
20 get_defined_constants(true);
H A D017.phpt21 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
/PHP-5.5/ext/dom/tests/
H A Ddomdocumentload_utilities.php5 $defined_constants = get_defined_constants(true);
/PHP-5.5/ext/mysqli/tests/
H A Dmysqli_constants_categories.phpt10 $constants = get_defined_constants(true);
H A Dmysqli_constants.phpt15 $constants = get_defined_constants(true);
H A Dconnect.inc168 $constants = get_defined_constants();
/PHP-5.5/ext/standard/tests/url/
H A Dparse_url_basic_010.phpt14 foreach(get_defined_constants() as $constantName => $constantValue) {
/PHP-5.5/ext/mysql/tests/
H A Dmysql_constants.phpt13 $constants = get_defined_constants(true);
/PHP-5.5/Zend/
H A Dzend_builtin_functions.c84 static ZEND_FUNCTION(get_defined_constants);
297 ZEND_FE(get_defined_constants, arginfo_get_defined_constants)
1944 ZEND_FUNCTION(get_defined_constants) in ZEND_FUNCTION() argument
/PHP-5.5/
H A DNEWS1654 . Fixed bug #65291 (get_defined_constants() causes PHP to crash in a very
5527 - Fixed bug #49223 (Inconsistency using get_defined_constants). (Garrett)
6147 - Fixed bug #47549 (get_defined_constants() return array with broken array

Completed in 42 milliseconds