Searched refs:constant (Results 26 – 50 of 451) sorted by relevance
12345678910>>...19
2 BUG #77664 (Segmentation fault when using undefined constant in custom wrapper)13 Fatal error: Uncaught Error: Undefined constant self::INVALID in %s:%d15 #0 %s(%d): [constant expression]()
2 Error when fetching properties on non-enums in constant expressions is catchable25 Fetching properties on non-enums in constant expressions is not allowed26 Fetching properties on non-enums in constant expressions is not allowed
2 Dynamic class constant fetch DIM order35 Undefined constant Foo::BAR37 Undefined constant Foo::BAR
2 049: __NAMESPACE__ constant and runtime names (php name)7 var_dump(constant(__NAMESPACE__ . "\\FOO"));
2 048: __NAMESPACE__ constant and runtime names (ns name)9 var_dump(constant(__NAMESPACE__ . "\\FOO"));
2 Invalid constant class name in nested class constant access
2 oss-fuzz #57821: Unevaluated rhs of class constant fetch in constant expression
2 ::class on an expression cannot be used inside constant expressions10 Fatal error: (expression)::class cannot be used in constant expressions in %s on line %d
2 GH-9136: Assertion when fetching property of magic constant in constant expression
2 GH-9136: Assertion when fetching property of magic constant in constant expression with nullsafe op…
2 Bug #43344.10 (Wrong error message for undefined namespace constant)8 Fatal error: Uncaught Error: Undefined constant "bar" in %s:%d
12 var_dump(foo, namespace\foo, \foo\foo, \foo, constant('foo'), constant('foo\foo'));
37 Cannot assign stdClass to class constant A::CONST1 of type stdClass&Stringable38 Cannot assign stdClass to class constant A::CONST1 of type stdClass&Stringable39 Cannot assign stdClass to class constant A::CONST1 of type stdClass&Stringable40 Cannot assign stdClass to class constant A::CONST1 of type stdClass&Stringable
2 Enum offsetGet in constant expression26 Fatal error: Uncaught Error: Cannot use [] on objects in constant expression in %s:%d28 #0 %s(%d): [constant expression]()
6 function reflectClassConstant($base, $constant) {7 $constInfo = new ReflectionClassConstant($base, $constant);10 echo "Reflecting on class constant $class::$constant\n\n";57 Reflecting on class constant TestClass::PUB90 Reflecting on class constant TestClass::PROT123 Reflecting on class constant TestClass::PRIV155 Reflecting on class constant TestClass::FINAL187 Reflecting on class constant TestClass::PRIV
17 STDIN (constant): bool(true)20 STDOUT (constant): bool(false)23 STDERR (constant): bool(true)
17 STDIN (constant): bool(true)20 STDOUT (constant): bool(true)23 STDERR (constant): bool(false)
17 STDIN (constant): bool(false)20 STDOUT (constant): bool(true)23 STDERR (constant): bool(false)
17 STDIN (constant): bool(false)20 STDOUT (constant): bool(false)23 STDERR (constant): bool(false)
17 STDIN (constant): bool(false)20 STDOUT (constant): bool(false)23 STDERR (constant): bool(true)
17 STDIN (constant): bool(true)20 STDOUT (constant): bool(false)23 STDERR (constant): bool(false)
2 GH-9905 (constant() behaves inconsistent when class is undefined)6 \constant("\NonExistantClass::non_existant_constant");
2 Error case: duplicate class constant definition12 Fatal error: Cannot redefine class constant myclass::myConst in %s on line 5
2 The same name constant of a trait used in a class that inherits a constant defined in a parent can …32 Fatal error: BaseClass2 and TestTrait2 define the same constant (Constant) in the composition of De…
2 Bug #66440 (Optimisation of conditional JMPs based on pre-evaluate constant function calls)12 if(constant('PHP_BINARY')) {
Completed in 55 milliseconds