Home
last modified time | relevance | path

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

12345678910>>...19

/php-src/ext/standard/tests/streams/
H A Dbug77664.phpt2 BUG #77664 (Segmentation fault when using undefined constant in custom wrapper)
13 Fatal error: Uncaught Error: Undefined constant self::INVALID in %s:%d
15 #0 %s(%d): [constant expression]()
/php-src/Zend/tests/prop_const_expr/
H A Dnon_enums_rhs.phpt2 Error when fetching properties on non-enums in constant expressions is catchable
25 Fetching properties on non-enums in constant expressions is not allowed
26 Fetching properties on non-enums in constant expressions is not allowed
/php-src/Zend/tests/
H A Ddynamic_class_const_fetch_order.phpt2 Dynamic class constant fetch DIM order
35 Undefined constant Foo::BAR
37 Undefined constant Foo::BAR
H A Dns_049.phpt2 049: __NAMESPACE__ constant and runtime names (php name)
7 var_dump(constant(__NAMESPACE__ . "\\FOO"));
H A Dns_048.phpt2 048: __NAMESPACE__ constant and runtime names (ns name)
9 var_dump(constant(__NAMESPACE__ . "\\FOO"));
H A Dinvalid_const_class_name.phpt2 Invalid constant class name in nested class constant access
H A Doss_fuzz_57821.phpt2 oss-fuzz #57821: Unevaluated rhs of class constant fetch in constant expression
H A Dclass_on_expression_in_constant_expression.phpt2 ::class on an expression cannot be used inside constant expressions
10 Fatal error: (expression)::class cannot be used in constant expressions in %s on line %d
H A Dgh9136.phpt2 GH-9136: Assertion when fetching property of magic constant in constant expression
H A Dgh9136_2.phpt2 GH-9136: Assertion when fetching property of magic constant in constant expression with nullsafe op…
H A Dbug43344_10.phpt2 Bug #43344.10 (Wrong error message for undefined namespace constant)
8 Fatal error: Uncaught Error: Undefined constant "bar" in %s:%d
H A Dconstants_003.phpt12 var_dump(foo, namespace\foo, \foo\foo, \foo, constant('foo'), constant('foo\foo'));
/php-src/Zend/tests/type_declarations/
H A Dtyped_class_constants_type_error8.phpt37 Cannot assign stdClass to class constant A::CONST1 of type stdClass&Stringable
38 Cannot assign stdClass to class constant A::CONST1 of type stdClass&Stringable
39 Cannot assign stdClass to class constant A::CONST1 of type stdClass&Stringable
40 Cannot assign stdClass to class constant A::CONST1 of type stdClass&Stringable
/php-src/Zend/tests/enum/
H A DoffsetGet-in-const-expr.phpt2 Enum offsetGet in constant expression
26 Fatal error: Uncaught Error: Cannot use [] on objects in constant expression in %s:%d
28 #0 %s(%d): [constant expression]()
/php-src/ext/reflection/tests/
H A DReflectionClassConstant_basic1.phpt6 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::PUB
90 Reflecting on class constant TestClass::PROT
123 Reflecting on class constant TestClass::PRIV
155 Reflecting on class constant TestClass::FINAL
187 Reflecting on class constant TestClass::PRIV
/php-src/tests/output/
H A Dstream_isatty_out.phpt17 STDIN (constant): bool(true)
20 STDOUT (constant): bool(false)
23 STDERR (constant): bool(true)
H A Dstream_isatty_err.phpt17 STDIN (constant): bool(true)
20 STDOUT (constant): bool(true)
23 STDERR (constant): bool(false)
H A Dstream_isatty_in-err.phpt17 STDIN (constant): bool(false)
20 STDOUT (constant): bool(true)
23 STDERR (constant): bool(false)
H A Dstream_isatty_in-out-err.phpt17 STDIN (constant): bool(false)
20 STDOUT (constant): bool(false)
23 STDERR (constant): bool(false)
H A Dstream_isatty_in-out.phpt17 STDIN (constant): bool(false)
20 STDOUT (constant): bool(false)
23 STDERR (constant): bool(true)
H A Dstream_isatty_out-err.phpt17 STDIN (constant): bool(true)
20 STDOUT (constant): bool(false)
23 STDERR (constant): bool(false)
/php-src/ext/standard/tests/general_functions/
H A Dgh9905.phpt2 GH-9905 (constant() behaves inconsistent when class is undefined)
6 \constant("\NonExistantClass::non_existant_constant");
/php-src/tests/classes/
H A Dconstants_error_001.phpt2 Error case: duplicate class constant definition
12 Fatal error: Cannot redefine class constant myclass::myConst in %s on line 5
/php-src/Zend/tests/traits/
H A Dconstant_015.phpt2 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…
/php-src/ext/opcache/tests/
H A Dbug66440.phpt2 Bug #66440 (Optimisation of conditional JMPs based on pre-evaluate constant function calls)
12 if(constant('PHP_BINARY')) {

Completed in 55 milliseconds

12345678910>>...19