Searched refs:constants (Results 1 – 25 of 233) sorted by relevance
12345678910
2 PDO MySQL specific class constants73 $constants = $ref->getConstants();76 foreach ($constants as $name => $value)85 unset($constants[$name]);89 unset($constants[$name]);92 if (!empty($constants)) {94 var_dump($constants);98 printf("[002] Dumping list of missing constants\n");103 foreach ($values as $value => $constants) {104 if (count($constants) > 1) {[all …]
2 Math constants7 $constants = array(26 foreach($constants as $constant) {
2 Test properties with array default values using class constants as keys and values.7 // Static and instance array using class constants17 // Static and instance array using class constants with self24 // Static and instance array using class constants with parent28 // Static and instance array using class constants with self (constants should be inherited)
2 Test constants with default values based on other constants.
2 Ensure class properties and constants can be defined in terms of constants that are not known at co…
2 Ensure a interface can have public constants
2 strtotime() on date constants9 $constants = array(26 foreach ($constants as $const) {
2 Date constants6 $constants = array(23 foreach($constants as $const) {
2 Test for pre-defined pcre constants6 echo "PCRE constants test\n";22 PCRE constants test
2 Backed enums can contain magic constants14 %smagic-constants.php
2 Enum allows constants
2 Typed class constants (inheritance; private constants)
2 Typed property assignment must not overwrite constants13 var_dump($x, 4); /* Optimizer will merge both "4" constants, making it immediately visible */
264 $constants = [];276 $constants[] = $name;279 return $constants;
2 Using namespace constants and constants of global scope
2 044: Name conflict and constants (php name)
2 043: Name conflict and constants (ns name)
2 Test parse_url() function : check values of URL related constants6 * check values of URL related constants
2 info constants test14 prompt> [User-defined constants (2)]
7 $constants = get_defined_constants(true);9 foreach ($constants as $group => $consts) {
10 $constants = get_defined_constants(true);11 sort($constants);149 foreach ($constants as $consts) {163 printf("Dumping list of unexpected constants\n");168 printf("Dumping list of missing constants\n");
14 $constants = $barClassReflection->getReflectionConstants();15 foreach ($constants as $constant) {
2 Reflection Bug #29986 (Class constants won't work with predefined constants when using ReflectionCl…
38 $constants = (new ReflectionClass('SQLite3'))->getConstants();39 $constants = array_flip($constants);41 var_dump($constants[$action], implode(',', array_slice(func_get_args(), 1)));
2 Interface constants can be overridden directly
Completed in 29 milliseconds