Deprecated: define(): Argument #3 ($case_insensitive) is ignored and treated as false since declaration of case-insensitive constants is no longer supported, passing the argument explicitly is unnecessary in /in/p03K9 on line 3
Warning: define(): Argument #3 ($case_insensitive) is ignored since declaration of case-insensitive constants is no longer supported, this will be an error in PHP 9.0 in /in/p03K9 on line 3
Deprecated: define(): Argument #3 ($case_insensitive) is ignored and treated as false since declaration of case-insensitive constants is no longer supported, passing the argument explicitly is unnecessary in /in/p03K9 on line 4
foo
Fatal error: Uncaught Error: Undefined constant "FOO" in /in/p03K9:6
Stack trace:
#0 {main}
thrown in /in/p03K9 on line 6
Process exited with code 255.
Warning: define(): Argument #3 ($case_insensitive) is ignored since declaration of case-insensitive constants is no longer supported in /in/p03K9 on line 3
foo
Fatal error: Uncaught Error: Undefined constant "FOO" in /in/p03K9:6
Stack trace:
#0 {main}
thrown in /in/p03K9 on line 6
Process exited with code 255.
Output for 7.4.0 - 7.4.33, 7.3.0 - 7.3.31
Deprecated: define(): Declaration of case-insensitive constants is deprecated in /in/p03K9 on line 3
foo
Deprecated: Case-insensitive constants are deprecated. The correct casing for this constant is "foo" in /in/p03K9 on line 6
foobar
Warning: Use of undefined constant BAR - assumed 'BAR' (this will throw an Error in a future version of PHP) in /in/p03K9 on line 6
BAR
Output for 7.3.32 - 7.3.33, 7.2.0 - 7.2.33
foofoobar
Warning: Use of undefined constant BAR - assumed 'BAR' (this will throw an Error in a future version of PHP) in /in/p03K9 on line 6
BAR