Home
last modified time | relevance | path

Searched refs:constants (Results 1 – 25 of 233) sorted by relevance

12345678910

/PHP-8.4/ext/pdo_mysql/tests/
H A Dpdo_mysql_class_constants.phpt2 PDO MySQL specific class constants
73 $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 …]
/PHP-8.4/ext/standard/tests/math/
H A Dconstants.phpt2 Math constants
7 $constants = array(
26 foreach($constants as $constant) {
/PHP-8.4/tests/classes/
H A Dconstants_basic_004.phpt2 Test properties with array default values using class constants as keys and values.
7 // Static and instance array using class constants
17 // Static and instance array using class constants with self
24 // Static and instance array using class constants with parent
28 // Static and instance array using class constants with self (constants should be inherited)
H A Dconstants_basic_005.phpt2 Test constants with default values based on other constants.
H A Dconstants_basic_003.phpt2 Ensure class properties and constants can be defined in terms of constants that are not known at co…
H A Dinterface_constant_inheritance_005.phpt2 Ensure a interface can have public constants
/PHP-8.4/ext/date/tests/
H A Dstrtotime2.phpt2 strtotime() on date constants
9 $constants = array(
26 foreach ($constants as $const) {
H A Ddate_constants.phpt2 Date constants
6 $constants = array(
23 foreach($constants as $const) {
/PHP-8.4/ext/pcre/tests/
H A Dpcre.constants.phpt2 Test for pre-defined pcre constants
6 echo "PCRE constants test\n";
22 PCRE constants test
/PHP-8.4/Zend/tests/enum/
H A Dmagic-constants.phpt2 Backed enums can contain magic constants
14 %smagic-constants.php
H A Dconstants.phpt2 Enum allows constants
/PHP-8.4/Zend/tests/type_declarations/
H A Dtyped_class_constants_inheritance_success3.phpt2 Typed class constants (inheritance; private constants)
H A Dtyped_properties_066.phpt2 Typed property assignment must not overwrite constants
13 var_dump($x, 4); /* Optimizer will merge both "4" constants, making it immediately visible */
/PHP-8.4/ext/curl/
H A Dsync-constants.php264 $constants = [];
276 $constants[] = $name;
279 return $constants;
/PHP-8.4/Zend/tests/
H A Dconstants_003.phpt2 Using namespace constants and constants of global scope
H A Dns_044.phpt2 044: Name conflict and constants (php name)
H A Dns_043.phpt2 043: Name conflict and constants (ns name)
/PHP-8.4/ext/standard/tests/url/
H A Dparse_url_basic_010.phpt2 Test parse_url() function : check values of URL related constants
6 * check values of URL related constants
/PHP-8.4/sapi/phpdbg/tests/
H A Dinfo_002.phpt2 info constants test
14 prompt> [User-defined constants (2)]
/PHP-8.4/ext/mysqli/tests/
H A Dmysqli_constants_categories.phpt7 $constants = get_defined_constants(true);
9 foreach ($constants as $group => $consts) {
H A Dmysqli_constants.phpt10 $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");
/PHP-8.4/ext/reflection/tests/
H A Dbug77325.phpt14 $constants = $barClassReflection->getReflectionConstants();
15 foreach ($constants as $constant) {
H A Dbug29986.phpt2 Reflection Bug #29986 (Class constants won't work with predefined constants when using ReflectionCl…
/PHP-8.4/ext/sqlite3/tests/
H A Dsqlite3_40_setauthorizer.phpt38 $constants = (new ReflectionClass('SQLite3'))->getConstants();
39 $constants = array_flip($constants);
41 var_dump($constants[$action], implode(',', array_slice(func_get_args(), 1)));
/PHP-8.4/Zend/tests/constants/final_constants/
H A Dfinal_const4.phpt2 Interface constants can be overridden directly

Completed in 29 milliseconds

12345678910