[php-src] Issue #14231: PHP_OUTPUT_HANDLER_PROCESSED is not defined
| From: | adazmy | Date: | Tue, 14 May 2024 16:12:17 +0000 |
| Subject: | [php-src] Issue #14231: PHP_OUTPUT_HANDLER_PROCESSED is not defined | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-246911@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/14231
Author: adazmy
### Description
While listing php constants, PHP_OUTPUT_HANDLER_PROCESSED is not defined.
Version:
PHP 8.3.6 (cli) (built: Apr 11 2024 20:23:19) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.3.6, Copyright (c) Zend Technologies
with Zend OPcache v8.3.6, Copyright (c), by Zend Technologies
The following code:
```php
<?php
echo PHP_OUTPUT_HANDLER_PROCESSED;
```
Resulted in this output:
```
Fatal error: Uncaught Error: Undefined constant "PHP_OUTPUT_HANDLER_PROCESSED" in
/in/fa1o8:3
Stack trace:
#0 {main}
thrown in /in/fa1o8 on line 3
Process exited with code 255.
```
But I expected this output instead:
```
// Constant value
```
### PHP Version
Output for 8.1.0 - 8.1.28, 8.2.0 - 8.2.19, 8.3.0 - 8.3.7
### Operating System
Ubuntu 20.04