Home
last modified time | relevance | path

Searched refs:constant (Results 26 – 50 of 206) sorted by relevance

123456789

/PHP-5.5/Zend/tests/
H A Dbug53305.phpt2 Bug #53305 (E_NOTICE when defining a constant starts with __COMPILER_HALT_OFFSET__)
13 var_dump(constant('__COMPILER_HALT_OFFSET__1'.chr(0)));
H A Derrmsg_025.phpt2 errmsg: cannot inherit previously inherited constant
20 Fatal error: Cannot inherit previously-inherited or override constant FOO from interface test2 in %…
H A Dinter_01.phpt2 Inherited constant from interface
18 Fatal error: Cannot inherit previously-inherited or override constant foo from interface foo in %s …
H A D008.phpt19 var_dump(constant(" "));
20 var_dump(constant("[[["));
21 var_dump(constant("test const"));
H A Dns_024.phpt2 024: __NAMESPACE__ constant out of namespace
H A Dns_023.phpt2 023: __NAMESPACE__ constant
H A Dns_047.phpt9 var_dump(constant("INI_ALL"));
H A Dns_009.phpt2 009: __NAMESPACE__ constant and runtime names (php name)
H A Dns_019.phpt2 019: __NAMESPACE__ constant and runtime names (php name)
H A Dns_046.phpt9 var_dump(constant("test\\ns1\\INI_ALL"));
/PHP-5.5/tests/classes/
H A Dbug29446.phpt2 Bug #29446 (ZE allows multiple declarations of the same class constant)
19 Fatal error: Cannot redefine class constant testClass::TEST_CONST in %s on line 5
H A Dinterface_constant_inheritance_001.phpt2 Ensure an interface may not shadow an inherited constant.
17 Fatal error: Cannot inherit previously-inherited or override constant FOO from interface I1 in %s o…
H A Dconstants_error_006.phpt2 Basic class support - attempting to modify a class constant by assignment
10 echo "\nTrying to modify a class constant directly - should be parse error.\n";
H A Dconstants_error_007.phpt2 Basic class support - attempting to create a reference to a class constant
10 echo "\nAttempting to create a reference to a class constant - should be parse error.\n";
H A Dinterface_constant_inheritance_002.phpt2 Ensure a class may not shadow a constant inherited from an interface.
17 Fatal error: Cannot inherit previously-inherited or override constant FOO from interface I in %s on…
H A Dconstants_basic_001.phpt2 Class constant declarations
66 Notice: Use of undefined constant UNDEFINED - assumed 'UNDEFINED' in %s on line %d
89 Fatal error: Undefined class constant 'c19' in %s on line 53
/PHP-5.5/ext/reflection/tests/
H A DReflectionClass_hasConstant_basic.phpt11 //Check if C has constant foo
14 //C should not have constant bar
/PHP-5.5/ext/standard/tests/file/
H A Dbug63512.phpt8 constant = INSTALL_ROOT
20 ["constant"]=>
H A Duserstreams_004.phpt35 test("fclock($mode)", $fd, constant($mode));
36 test("fclock($mode|LOCK_NB)", $fd, constant($mode)|LOCK_NB);
/PHP-5.5/ext/opcache/
H A DZendAccelerator.h368 # define ZEND_OP1_LITERAL(opline) (op_array)->literals[(opline)->op1.constant].constant
372 # define ZEND_OP2_LITERAL(opline) (op_array)->literals[(opline)->op2.constant].constant
386 # define ZEND_OP1_CONST(opline) (opline)->op1.u.constant
387 # define ZEND_OP1_LITERAL(opline) (opline)->op1.u.constant
390 # define ZEND_OP2_CONST(opline) (opline)->op2.u.constant
391 # define ZEND_OP2_LITERAL(opline) (opline)->op2.u.constant
/PHP-5.5/Zend/
H A Dzend_constants.c455 …if (zend_hash_quick_find(EG(zend_constants), Z_STRVAL(key->constant), Z_STRLEN(key->constant) + 1,… in zend_quick_get_constant()
457 …if (zend_hash_quick_find(EG(zend_constants), Z_STRVAL(key->constant), Z_STRLEN(key->constant) + 1,… in zend_quick_get_constant()
461 …if (zend_hash_quick_find(EG(zend_constants), Z_STRVAL(key->constant), Z_STRLEN(key->constant) + 1,… in zend_quick_get_constant()
463 …if (zend_hash_quick_find(EG(zend_constants), Z_STRVAL(key->constant), Z_STRLEN(key->constant) + 1,… in zend_quick_get_constant()
467 … if (!zend_get_special_constant(Z_STRVAL(key->constant), Z_STRLEN(key->constant), &c TSRMLS_CC)) { in zend_quick_get_constant()
474 … if (!zend_get_special_constant(Z_STRVAL(key->constant), Z_STRLEN(key->constant), &c TSRMLS_CC)) { in zend_quick_get_constant()
/PHP-5.5/Zend/tests/constants/
H A Ddir-constant-eval.phpt2 __DIR__ constant used with eval()
/PHP-5.5/ext/intl/tests/
H A Dintl_icu_version_constant.phpt2 INTL_ICU_VERSION constant
H A Dintl_icu_data_version_constant.phpt2 INTL_ICU_DATA_VERSION constant
/PHP-5.5/ext/date/tests/
H A Dbug36599.phpt2 Bug #36599 (DATE_W3C format constant incorrect).

Completed in 69 milliseconds

123456789