Searched refs:constant (Results 76 – 100 of 451) sorted by relevance
12345678910>>...19
2 Internal constant deprecation9 var_dump(constant('ZEND_TEST_DEPRECATED'));
2 Bug #43344.9 (Wrong error message for undefined namespace constant)13 Fatal error: Uncaught Error: Undefined constant "Foo\bar" in %s:%d
12 Fatal error: Uncaught Error: Cannot declare self-referencing constant Foo::B in %s:%d14 #0 %s(%d): [constant expression]()
2 GH-8821: Fix reported line number of constant expression20 #0 %sgh8821.php(11): [constant expression]()
17 Fatal error: Uncaught Error: Undefined constant "Y" in %s:822 Next Error: Undefined constant "X" in %s:6
2 __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
2 Dynamic class constant fetch in constant expressions
22 Fatal error: Uncaught Error: Undefined constant I::FOO in %s:%d24 #0 %s(%d): [constant expression]()
11 //Check if C has constant foo14 //C should not have constant bar
2 Test variations of getting constant values6 /* Use separate classes to make sure that in-place constant updates don't interfere */
2 Trying to access a constant on trait via the name of trait causes a Fatal error16 Fatal error: Uncaught Error: Cannot access trait constant Foo::A directly in %s:%d
2 Cannot override a final trait constant in a class derived from the class that uses the trait21 Fatal error: DerivedClass::Constant cannot override final constant ComposingClass::Constant in %s o…
2 No autoloading during constant resolution27 Undefined constant Foo::BAR
2 Preloading class with undefined class constant access25 Undefined constant self::DOES_NOT_EXIST
2 Preloading class using trait with undefined class constant access27 Undefined constant "UNDEF"
2 Disallow fetching properties in constant expressions on non-enums even if lhs is other const15 Fatal error: Uncaught Error: Fetching properties on non-enums in constant expressions is not allowe…
2 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…
8 constant = INSTALL_ROOT21 ["constant"]=>
25 Cannot assign string to class constant A::CONST1 of type int26 Cannot assign string to class constant A::CONST1 of type int
24 Cannot assign stdClass to class constant A::CONST1 of type string25 Cannot assign stdClass to class constant A::CONST1 of type string
24 Cannot assign stdClass to class constant A::CONST1 of type stdClass&Stringable25 Cannot assign stdClass to class constant A::CONST1 of type stdClass&Stringable
20 assert(true, "constant message");21 assert(($variable && $variable) || php_sapi_name(), new OdEar("constant message"));
27 const enum = 'enum constant';42 string(13) "enum constant"
29 'STDIN (constant)' => STDIN,32 'STDOUT (constant)' => STDOUT,35 'STDERR (constant)' => STDERR,
37 …eeIterator::setPrefixPart(): Argument #1 ($part) must be a RecursiveTreeIterator::PREFIX_* constant38 …eeIterator::setPrefixPart(): Argument #1 ($part) must be a RecursiveTreeIterator::PREFIX_* constant
Completed in 42 milliseconds