[php-src] Issue #18948: Missing deprecation notice for allow_url_include
| From: | kkmuffme | Date: | Thu, 26 Jun 2025 13:54:59 +0000 |
| Subject: | [php-src] Issue #18948: Missing deprecation notice for allow_url_include | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-250330@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/18948
Author: kkmuffme
### Description
https://wiki.php.net/rfc/deprecations_php_7_4#allow_url_include
>Proposal: Add a deprecation notice if allow_url_include=1 **on startup**.
When changing this ini value with ini_set, there should be a deprecation notice too? Looks like
it's possibly only reported on startup?
The following code:
```php
<?php
ini_set('allow_url_include', 1);
```
Resulted in this output:
```
```
But I expected this output instead:
Deprecation notice
### PHP Version
```plain
PHP 8.4
```
### Operating System
_No response_