Home
last modified time | relevance | path

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

12345

/PHP-5.6/ext/pdo_mysql/tests/
H A Dpdo_mysql_class_constants.phpt2 PDO MySQL specific class constants
64 $constants = $ref->getConstants();
67 foreach ($constants as $name => $value)
76 unset($constants[$name]);
80 unset($constants[$name]);
83 if (!empty($constants)) {
85 var_dump($constants);
89 printf("[002] Dumping list of missing constants\n");
94 foreach ($values as $value => $constants) {
95 if (count($constants) > 1) {
[all …]
/PHP-5.6/ext/mysql/tests/
H A Dmysql_constants.phpt13 $constants = get_defined_constants(true);
14 sort($constants);
39 foreach ($constants as $group => $consts) {
53 printf("Dumping list of unexpected constants\n");
58 printf("Dumping list of missing constants\n");
/PHP-5.6/ext/standard/tests/math/
H A Dconstants.phpt2 Math constants
7 $constants = array(
26 foreach($constants as $constant) {
/PHP-5.6/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…
/PHP-5.6/ext/date/tests/
H A Dstrtotime2.phpt2 strtotime() on date constants
9 $constants = array(
24 foreach ($constants as $const) {
H A DDateTimeZone_verify.phpt16 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
H A Ddate_constants.phpt2 Date constants
6 $constants = array(
20 foreach($constants as $const) {
H A DDateTime_verify.phpt16 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
/PHP-5.6/ext/pcre/tests/
H A Dpcre.constants.phpt2 Test for pre-defined pcre constants
6 echo "PCRE constants test\n";
23 PCRE constants test
/PHP-5.6/Zend/tests/
H A Dconstants_003.phpt2 Using namespace constants and constants of global scope
H A Dbug44827.phpt9 Warning: Class constants cannot be defined or redefined in %sbug44827.php on line %d
11 Warning: Class constants cannot be defined or redefined in %sbug44827.php on line %d
H A Dns_044.phpt2 044: Name conflict and constants (php name)
H A Dns_043.phpt2 043: Name conflict and constants (ns name)
H A Dns_047.phpt2 047: Run-time name conflict and constants (php name)
H A Dns_046.phpt2 046: Run-time name conflict and constants (ns name)
H A Dns_051.phpt2 051: Name conflict and compile-time constants (php name)
H A Dns_045.phpt2 045: Name conflict and constants (php name in case if ns name exists)
H A Dbug41633_1.phpt2 Bug #41633.1 (self:: doesn't work for constants)
/PHP-5.6/ext/opcache/Optimizer/
H A Dzend_optimizer.c42 if (!*constants) { in zend_optimizer_collect_constant()
43 *constants = emalloc(sizeof(HashTable)); in zend_optimizer_collect_constant()
477 HashTable **constants TSRMLS_DC) in zend_optimize()
586 zend_optimize(op_array, script, constants TSRMLS_CC); in zend_accel_optimize()
631 HashTable *constants = NULL; in zend_accel_script_optimize() local
633 zend_accel_optimize(&script->main_op_array, script, &constants TSRMLS_CC); in zend_accel_script_optimize()
638 zend_accel_optimize(op_array, script, &constants TSRMLS_CC); in zend_accel_script_optimize()
649 zend_accel_optimize(op_array, script, &constants TSRMLS_CC); in zend_accel_script_optimize()
663 if (constants) { in zend_accel_script_optimize()
664 zend_hash_destroy(constants); in zend_accel_script_optimize()
[all …]
/PHP-5.6/ext/mysqli/tests/
H A Dmysqli_constants_categories.phpt10 $constants = get_defined_constants(true);
12 foreach ($constants as $group => $consts) {
H A Dmysqli_constants.phpt15 $constants = get_defined_constants(true);
16 sort($constants);
214 foreach ($constants as $group => $consts) {
228 printf("Dumping list of unexpected constants\n");
233 printf("Dumping list of missing constants\n");
/PHP-5.6/ext/standard/tests/url/
H A Dparse_url_basic_010.phpt2 Test parse_url() function : check values of URL related constants
12 * check values of URL related constants
/PHP-5.6/ext/reflection/tests/
H A Dbug29986.phpt2 Reflection Bug #29986 (Class constants won't work with predefined constants when using ReflectionCl…

Completed in 30 milliseconds

12345