[php-src] Issue #9509: file_get_contents executes twice instead of once
| From: | Sadico65O | Date: | Thu, 08 Sep 2022 12:27:47 +0000 |
| Subject: | [php-src] Issue #9509: file_get_contents executes twice instead of once | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-242385@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/9509
Author: Sadico65O
### Description
The following code:
```php
<?php
$url = // An url with GET parameters needed to make an action
file_get_contents($url);
?>
```
Resulted in this output:
```
// Doing the action twice
```
But I expected this output instead:
```
// Doing the action once
```
### PHP Version
8.1.9
### Operating System
_No response_