Searched refs:constant (Results 51 – 75 of 451) sorted by relevance
12345678910>>...19
6 'STDIN (constant)' => STDIN,9 'STDOUT (constant)' => STDOUT,12 'STDERR (constant)' => STDERR,
21 var_dump(constant(" "));22 var_dump(constant("[[["));23 var_dump(constant("test const"));
2 Bug #43344.6 (Wrong error message for undefined namespace constant)9 Fatal error: Uncaught Error: Undefined constant "Foo\bar" in %s:%d
2 Dynamic class names can't be used in compile-time constant refs11 Fatal error: Dynamic class names are not allowed in compile-time class constant references in %s on…
2 Bug #53305 (E_NOTICE when defining a constant starts with __COMPILER_HALT_OFFSET__)13 var_dump(constant('__COMPILER_HALT_OFFSET__1'.chr(0)));
2 GH-7771 (Incorrect file/line for class constant expression exceptions)14 #0 %sgh7771_1.php(5): [constant expression]()
2 GH-7771 (Incorrect file/line for class constant expression exceptions)14 #0 %sgh7771_2.php(5): [constant expression]()
17 Fatal error: Uncaught Error: Undefined constant "FOO" in %s:%d19 #0 %s(%d): [constant expression]()
2 Bug #43344.11 (Wrong error message for undefined namespace constant)11 Fatal error: Uncaught Error: Undefined constant "bar" in %s:%d
2 Bug #43344.12 (Wrong error message for undefined namespace constant)11 Fatal error: Uncaught Error: Undefined constant "bar" in %s:%d
4 disable_functions=strlen,defined,call_user_func,constant,is_string21 var_dump(constant("PHP_VERSION"));47 Call to undefined function constant()
2 Bug #43344.13 (Wrong error message for undefined namespace constant)12 Fatal error: Uncaught Error: Undefined constant "bar" in %s:%d
2 Bug #43344.7 (Wrong error message for undefined namespace constant)12 Fatal error: Uncaught Error: Undefined constant "Foo\bar" in %s:%d
11 Fatal error: Uncaught Error: Undefined constant self::B in %s:%d13 #0 %s(%d): [constant expression]()
2 Bug #43344.8 (Wrong error message for undefined namespace constant)12 Fatal error: Uncaught Error: Undefined constant "Foo\bar" in %s:%d
2 Class private constant visibility error13 Fatal error: Uncaught Error: Cannot access private constant A::privateConst in %s:6
2 Class protected constant visibility error13 Fatal error: Uncaught Error: Cannot access protected constant A::protectedConst in %s:6
2 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
2 Basic class support - attempting to modify a class constant by assignment10 echo "\nTrying to modify a class constant directly - should be parse error.\n";
2 Basic class support - attempting to create a reference to a class constant10 echo "\nAttempting to create a reference to a class constant - should be parse error.\n";
2 Class constant whose initial value references a non-existent class15 #0 %s(%d): [constant expression]()
2 Unpacking arrays in constant expression12 Fatal error: Uncaught Error: Only arrays can be unpacked in constant expression in %sgh9769.php:5
2 Disallow fetching properties in constant expressions on non-enums14 Fatal error: Uncaught Error: Fetching properties on non-enums in constant expressions is not allowe…
2 Disallow nullsafe fetching properties in constant expressions on non-enums14 Fatal error: Uncaught Error: Fetching properties on non-enums in constant expressions is not allowe…
2 Typed class constant reflection24 Cannot assign string to class constant Foo::CONST1 of type int
Completed in 25 milliseconds