Home
last modified time | relevance | path

Searched refs:constant (Results 76 – 100 of 451) sorted by relevance

12345678910>>...19

/php-src/Zend/tests/
H A Dconst_deprecation.phpt2 Internal constant deprecation
9 var_dump(constant('ZEND_TEST_DEPRECATED'));
H A Dbug43344_9.phpt2 Bug #43344.9 (Wrong error message for undefined namespace constant)
13 Fatal error: Uncaught Error: Undefined constant "Foo\bar" in %s:%d
H A Dbug41633_3.phpt12 Fatal error: Uncaught Error: Cannot declare self-referencing constant Foo::B in %s:%d
14 #0 %s(%d): [constant expression]()
H A Dgh8821.phpt2 GH-8821: Fix reported line number of constant expression
20 #0 %sgh8821.php(11): [constant expression]()
H A Dexception_026.phpt17 Fatal error: Uncaught Error: Undefined constant "Y" in %s:8
22 Next Error: Undefined constant "X" in %s:6
H A Dbug70164.phpt2 __COMPILER_HALT_OFFSET__ is a "magic" constant, which should work if referenced directly, even in a…
27 Fatal error: Uncaught Error: Undefined constant "Foo\__COMPILER_HALT_OFFSET__" in %s:%d
H A Ddynamic_class_const_fetch_const_expr.phpt2 Dynamic class constant fetch in constant expressions
H A Dbug74657.phpt22 Fatal error: Uncaught Error: Undefined constant I::FOO in %s:%d
24 #0 %s(%d): [constant expression]()
/php-src/ext/reflection/tests/
H A DReflectionClass_hasConstant_basic.phpt11 //Check if C has constant foo
14 //C should not have constant bar
H A DReflectionClassConstant_getValue.phpt2 Test variations of getting constant values
6 /* Use separate classes to make sure that in-place constant updates don't interfere */
/php-src/Zend/tests/traits/
H A Dconstant_004.phpt2 Trying to access a constant on trait via the name of trait causes a Fatal error
16 Fatal error: Uncaught Error: Cannot access trait constant Foo::A directly in %s:%d
H A Dconstant_014.phpt2 Cannot override a final trait constant in a class derived from the class that uses the trait
21 Fatal error: DerivedClass::Constant cannot override final constant ComposingClass::Constant in %s o…
/php-src/ext/opcache/tests/
H A Dpreload_012.phpt2 No autoloading during constant resolution
27 Undefined constant Foo::BAR
H A Dpreload_004.phpt2 Preloading class with undefined class constant access
25 Undefined constant self::DOES_NOT_EXIST
H A Dpreload_009.phpt2 Preloading class using trait with undefined class constant access
27 Undefined constant "UNDEF"
/php-src/Zend/tests/prop_const_expr/
H A Dnon_enums_cost.phpt2 Disallow fetching properties in constant expressions on non-enums even if lhs is other const
15 Fatal error: Uncaught Error: Fetching properties on non-enums in constant expressions is not allowe…
H A Dnon_enums_catchable.phpt2 RHS gets evaluated before throwing error when accessing properties on non-enums in constant express…
23 Fatal error: Uncaught Error: Fetching properties on non-enums in constant expressions is not allowe…
/php-src/ext/standard/tests/file/
H A Dbug63512.phpt8 constant = INSTALL_ROOT
21 ["constant"]=>
/php-src/Zend/tests/type_declarations/
H A Dtyped_class_constants_type_error2.phpt25 Cannot assign string to class constant A::CONST1 of type int
26 Cannot assign string to class constant A::CONST1 of type int
H A Dtyped_class_constants_type_error3.phpt24 Cannot assign stdClass to class constant A::CONST1 of type string
25 Cannot assign stdClass to class constant A::CONST1 of type string
H A Dtyped_class_constants_type_error7.phpt24 Cannot assign stdClass to class constant A::CONST1 of type stdClass&Stringable
25 Cannot assign stdClass to class constant A::CONST1 of type stdClass&Stringable
/php-src/Zend/tests/assert/
H A Dexpect_008.phpt20 assert(true, "constant message");
21 assert(($variable && $variable) || php_sapi_name(), new OdEar("constant message"));
/php-src/Zend/tests/enum/
H A Dkeyword-no-bc-break.phpt27 const enum = 'enum constant';
42 string(13) "enum constant"
/php-src/tests/output/
H A Dsapi_windows_vt100_support.inc29 'STDIN (constant)' => STDIN,
32 'STDOUT (constant)' => STDOUT,
35 'STDERR (constant)' => STDERR,
/php-src/ext/spl/tests/
H A Drecursive_tree_iterator_008.phpt37 …eeIterator::setPrefixPart(): Argument #1 ($part) must be a RecursiveTreeIterator::PREFIX_* constant
38 …eeIterator::setPrefixPart(): Argument #1 ($part) must be a RecursiveTreeIterator::PREFIX_* constant

Completed in 42 milliseconds

12345678910>>...19