Re: [RFC] [FINAL DISCUSSION] Script only include/require
| From: | Yasuo Ohgaki | Date: | Mon, 23 Feb 2015 09:52:00 +0000 |
| Subject: | Re: [RFC] [FINAL DISCUSSION] Script only include/require | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-83558@lists.php.net to get a copy of this message | ||
Hi Jan,
On Mon, Feb 23, 2015 at 6:32 PM, Jan Ehrhardt <phpdev@ehrhardt.nl> wrote:
> Stanislav Malyshev in php.internals (Sun, 22 Feb 2015 14:00:02 -0800):
> >2. Default configuration would break tons of PHP scripts with extensions
> >other than .php (very frequent case). The BC break potential of this is
> >very big as it modifies core functionality.
>
> Exactly my point with the Drupal example. Drupal will break without
> changes.
>
They can adopt PHP7 by one liner.
ini_set('.php .phar .module .etc');
Since ini_set() does not raise any errors, it works all PHP versions.
Regards,
--
Yasuo Ohgaki
yohgaki@ohgaki.net