Home
last modified time | relevance | path

Searched refs:constant (Results 51 – 75 of 451) sorted by relevance

12345678910>>...19

/php-src/tests/output/
H A Dstream_isatty.inc6 'STDIN (constant)' => STDIN,
9 'STDOUT (constant)' => STDOUT,
12 'STDERR (constant)' => STDERR,
/php-src/Zend/tests/
H A D008.phpt21 var_dump(constant(" "));
22 var_dump(constant("[[["));
23 var_dump(constant("test const"));
H A Dbug43344_6.phpt2 Bug #43344.6 (Wrong error message for undefined namespace constant)
9 Fatal error: Uncaught Error: Undefined constant "Foo\bar" in %s:%d
H A Dconstant_expressions_dynamic_class_name_error.phpt2 Dynamic class names can't be used in compile-time constant refs
11 Fatal error: Dynamic class names are not allowed in compile-time class constant references in %s on…
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 Dgh7771_1.phpt2 GH-7771 (Incorrect file/line for class constant expression exceptions)
14 #0 %sgh7771_1.php(5): [constant expression]()
H A Dgh7771_2.phpt2 GH-7771 (Incorrect file/line for class constant expression exceptions)
14 #0 %sgh7771_2.php(5): [constant expression]()
H A Dbug47572.phpt17 Fatal error: Uncaught Error: Undefined constant "FOO" in %s:%d
19 #0 %s(%d): [constant expression]()
H A Dbug43344_11.phpt2 Bug #43344.11 (Wrong error message for undefined namespace constant)
11 Fatal error: Uncaught Error: Undefined constant "bar" in %s:%d
H A Dbug43344_12.phpt2 Bug #43344.12 (Wrong error message for undefined namespace constant)
11 Fatal error: Uncaught Error: Undefined constant "bar" in %s:%d
H A Dbug69315.phpt4 disable_functions=strlen,defined,call_user_func,constant,is_string
21 var_dump(constant("PHP_VERSION"));
47 Call to undefined function constant()
H A Dbug43344_13.phpt2 Bug #43344.13 (Wrong error message for undefined namespace constant)
12 Fatal error: Uncaught Error: Undefined constant "bar" in %s:%d
H A Dbug43344_7.phpt2 Bug #43344.7 (Wrong error message for undefined namespace constant)
12 Fatal error: Uncaught Error: Undefined constant "Foo\bar" in %s:%d
H A Dbug41633_2.phpt11 Fatal error: Uncaught Error: Undefined constant self::B in %s:%d
13 #0 %s(%d): [constant expression]()
H A Dbug43344_8.phpt2 Bug #43344.8 (Wrong error message for undefined namespace constant)
12 Fatal error: Uncaught Error: Undefined constant "Foo\bar" in %s:%d
/php-src/tests/classes/
H A Dconstants_visibility_error_001.phpt2 Class private constant visibility error
13 Fatal error: Uncaught Error: Cannot access private constant A::privateConst in %s:6
H A Dconstants_visibility_error_002.phpt2 Class protected constant visibility error
13 Fatal error: Uncaught Error: Cannot access protected constant A::protectedConst in %s:6
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 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 Dconstants_error_004.phpt2 Class constant whose initial value references a non-existent class
15 #0 %s(%d): [constant expression]()
/php-src/Zend/tests/array_unpack/
H A Dgh9769.phpt2 Unpacking arrays in constant expression
12 Fatal error: Uncaught Error: Only arrays can be unpacked in constant expression in %sgh9769.php:5
/php-src/Zend/tests/prop_const_expr/
H A Dnon_enums.phpt2 Disallow fetching properties in constant expressions on non-enums
14 Fatal error: Uncaught Error: Fetching properties on non-enums in constant expressions is not allowe…
H A Dnon_enums_nullsafe.phpt2 Disallow nullsafe fetching properties in constant expressions on non-enums
14 Fatal error: Uncaught Error: Fetching properties on non-enums in constant expressions is not allowe…
/php-src/ext/reflection/tests/
H A Dstatic_properties_with_typed_class_constants1.phpt2 Typed class constant reflection
24 Cannot assign string to class constant Foo::CONST1 of type int

Completed in 25 milliseconds

12345678910>>...19