Home
last modified time | relevance | path

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

12345678910>>...12

/PHP-7.4/Zend/tests/
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 Derrmsg_025.phpt2 errmsg: cannot inherit previously inherited constant
20 Fatal error: Cannot inherit previously-inherited or override constant FOO from interface test2 in %…
H A Dbug43344_11.phpt2 Bug #43344.11 (Wrong error message for undefined namespace constant)
11 Fatal error: Uncaught Error: Undefined constant 'bar' in %sbug43344_11.php:%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 %sbug43344_12.php:%d
H A Dbug69315.phpt4 disable_functions=strlen,defined,call_user_func,constant,is_string
12 var_dump(constant("PHP_VERSION"));
25 Warning: constant() has been disabled for security reasons in %sbug69315.php on line %d
H A Dbug43344_13.phpt2 Bug #43344.13 (Wrong error message for undefined namespace constant)
12 Fatal error: Uncaught Error: Undefined constant 'bar' in %sbug43344_13.php:%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 %sbug43344_7.php:%d
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 %sbug43344_8.php:%d
H A Dinter_01.phpt2 Inherited constant from interface
18 Fatal error: Cannot inherit previously-inherited or override constant foo from interface foo in %s …
H A Dbug43344_9.phpt2 Bug #43344.9 (Wrong error message for undefined namespace constant)
13 Fatal error: Uncaught Error: Undefined constant 'Foo\bar' in %sbug43344_9.php:%d
/PHP-7.4/tests/output/
H A Dstream_isatty.inc6 'STDIN (constant)' => STDIN,
9 'STDOUT (constant)' => STDOUT,
12 'STDERR (constant)' => STDERR,
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)
H A Dstream_isatty_out.phpt17 STDIN (constant): bool(true)
20 STDOUT (constant): bool(false)
23 STDERR (constant): bool(true)
/PHP-7.4/tests/classes/
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 Dinterface_constant_inheritance_001.phpt2 Ensure an interface may not shadow an inherited constant.
16 Fatal error: Cannot inherit previously-inherited or override constant FOO from interface I1 in %s o…
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 Dinterface_constant_inheritance_002.phpt2 Ensure a class may not shadow a constant inherited from an interface.
16 Fatal error: Cannot inherit previously-inherited or override constant FOO from interface I in %s on…
/PHP-7.4/ext/opcache/Optimizer/
H A Doptimize_func_calls.c34 Z_TYPE(op_array->literals[(opline)->op1.constant]) == IS_STRING)
37 Z_TYPE(op_array->literals[(opline)->op2.constant]) == IS_STRING)
148 opline->op1.constant = zend_optimizer_add_literal(op_array, &zv); in zend_try_inline_call()
205 fcall->op2.constant = fcall->op2.constant + 1; in zend_optimize_func_calls()
210 literal_dtor(&op_array->literals[fcall->op2.constant]); in zend_optimize_func_calls()
211 literal_dtor(&op_array->literals[fcall->op2.constant + 2]); in zend_optimize_func_calls()
212 fcall->op2.constant = fcall->op2.constant + 1; in zend_optimize_func_calls()
/PHP-7.4/ext/reflection/tests/
H A DReflectionClass_hasConstant_basic.phpt11 //Check if C has constant foo
14 //C should not have constant bar

Completed in 35 milliseconds

12345678910>>...12