Searched refs:constant (Results 51 – 75 of 456) sorted by relevance
12345678910>>...19
/php-src/Zend/tests/ |
H A D | bug43344_10.phpt | 2 Bug #43344.10 (Wrong error message for undefined namespace constant) 8 Fatal error: Uncaught Error: Undefined constant "bar" in %s:%d
|
H A D | constants_003.phpt | 12 var_dump(foo, namespace\foo, \foo\foo, \foo, constant('foo'), constant('foo\foo'));
|
H A D | 008.phpt | 21 var_dump(constant(" ")); 22 var_dump(constant("[[[")); 23 var_dump(constant("test const"));
|
H A D | bug43344_6.phpt | 2 Bug #43344.6 (Wrong error message for undefined namespace constant) 9 Fatal error: Uncaught Error: Undefined constant "Foo\bar" in %s:%d
|
H A D | constant_expressions_dynamic_class_name_error.phpt | 2 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 D | bug53305.phpt | 2 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 D | gh7771_1.phpt | 2 GH-7771 (Incorrect file/line for class constant expression exceptions) 14 #0 %sgh7771_1.php(5): [constant expression]()
|
H A D | gh7771_2.phpt | 2 GH-7771 (Incorrect file/line for class constant expression exceptions) 14 #0 %sgh7771_2.php(5): [constant expression]()
|
H A D | bug47572.phpt | 17 Fatal error: Uncaught Error: Undefined constant "FOO" in %s:%d 19 #0 %s(%d): [constant expression]()
|
H A D | bug43344_11.phpt | 2 Bug #43344.11 (Wrong error message for undefined namespace constant) 11 Fatal error: Uncaught Error: Undefined constant "bar" in %s:%d
|
H A D | bug43344_12.phpt | 2 Bug #43344.12 (Wrong error message for undefined namespace constant) 11 Fatal error: Uncaught Error: Undefined constant "bar" in %s:%d
|
H A D | bug69315.phpt | 4 disable_functions=strlen,defined,call_user_func,constant,is_string 21 var_dump(constant("PHP_VERSION")); 47 Call to undefined function constant()
|
H A D | bug43344_13.phpt | 2 Bug #43344.13 (Wrong error message for undefined namespace constant) 12 Fatal error: Uncaught Error: Undefined constant "bar" in %s:%d
|
H A D | bug43344_7.phpt | 2 Bug #43344.7 (Wrong error message for undefined namespace constant) 12 Fatal error: Uncaught Error: Undefined constant "Foo\bar" in %s:%d
|
H A D | bug41633_2.phpt | 11 Fatal error: Uncaught Error: Undefined constant self::B in %s:%d 13 #0 %s(%d): [constant expression]()
|
/php-src/Zend/tests/new_without_parentheses/ |
H A D | new_without_ctor_arguments_parentheses_constant.phpt | 2 Immediate constant access on new object without constructor parentheses 8 const C = 'constant';
|
/php-src/tests/output/ |
H A D | stream_isatty.inc | 6 'STDIN (constant)' => STDIN, 9 'STDOUT (constant)' => STDOUT, 12 'STDERR (constant)' => STDERR,
|
/php-src/tests/classes/ |
H A D | constants_visibility_error_001.phpt | 2 Class private constant visibility error 13 Fatal error: Uncaught Error: Cannot access private constant A::privateConst in %s:6
|
H A D | constants_visibility_error_002.phpt | 2 Class protected constant visibility error 13 Fatal error: Uncaught Error: Cannot access protected constant A::protectedConst in %s:6
|
H A D | bug29446.phpt | 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
|
H A D | constants_error_006.phpt | 2 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 D | constants_error_007.phpt | 2 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 D | constants_error_004.phpt | 2 Class constant whose initial value references a non-existent class 15 #0 %s(%d): [constant expression]()
|
/php-src/Zend/tests/array_unpack/ |
H A D | gh9769.phpt | 2 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 D | non_enums.phpt | 2 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…
|
Completed in 58 milliseconds
12345678910>>...19