Searched refs:constants (Results 1 – 25 of 146) sorted by relevance
123456
2 PDO OCI specific class constants22 $constants = $ref->getConstants();25 foreach ($constants as $name => $value) {35 unset($constants[$name]);39 unset($constants[$name]);43 if (!empty($constants)) {45 var_dump($constants);49 printf("[002] Dumping list of missing constants\n");54 foreach ($values as $value => $constants) {55 if (count($constants) > 1) {[all …]
2 PDO MySQL specific class constants65 $constants = $ref->getConstants();68 foreach ($constants as $name => $value)77 unset($constants[$name]);81 unset($constants[$name]);84 if (!empty($constants)) {86 var_dump($constants);90 printf("[002] Dumping list of missing constants\n");95 foreach ($values as $value => $constants) {96 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(24 foreach ($constants as $const) {
16 echo "..and get names of all its class constants\n";17 $constants = $class->getConstants();18 var_dump($constants);94 ..and get names of all its class constants
2 Date constants6 $constants = array(20 foreach($constants as $const) {
16 echo "..and get names of all its class constants\n";17 $constants = $class->getConstants();18 var_dump($constants);158 ..and get names of all its class constants
2 Test for pre-defined pcre constants6 echo "PCRE constants test\n";23 PCRE constants test
2 Using namespace constants and constants of global scope
9 Warning: Class constants cannot be defined or redefined in %sbug44827.php on line %d11 Warning: Class constants cannot be defined or redefined in %sbug44827.php on line %d
2 044: Name conflict and constants (php name)
2 043: Name conflict and constants (ns name)
2 047: Run-time name conflict and constants (php name)
2 046: Run-time name conflict and constants (ns name)
2 051: Name conflict and compile-time constants (php name)
2 045: Name conflict and constants (php name in case if ns name exists)
2 info constants test14 prompt> [User-defined constants (2)]
10 $constants = get_defined_constants(true);12 foreach ($constants as $group => $consts) {
17 $constants = get_defined_constants(true);18 sort($constants);217 foreach ($constants as $group => $consts) {231 printf("Dumping list of unexpected constants\n");236 printf("Dumping list of missing constants\n");
2 Test parse_url() function : check values of URL related constants12 * check values of URL related constants
2 Reflection Bug #29986 (Class constants won't work with predefined constants when using ReflectionCl…
Completed in 28 milliseconds