[php-src] Issue #11107: PHP 8.1.18 and include a file that doesn't exist returns 502 error
| From: | CyberCr33p | Date: | Thu, 20 Apr 2023 11:18:10 +0000 |
| Subject: | [php-src] Issue #11107: PHP 8.1.18 and include a file that doesn't exist returns 502 error | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-244236@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/11107
Author: CyberCr33p
### Description
The following code when example.php doesn't exist:
```php
<?php include ("example.php"); ?>
```
Resulted in this output:
```
502 Bad Gateway
```
But I expected this output instead:
```
no output
```
This doesn't happen with PHP 7.4 and most likely doesn't happen with PHP 8.1.17 either.
### PHP Version
PHP 8.1.18
### Operating System
_No response_