Re: Throwing an Error for require expressions in PHP7.x
| From: | Niklas Keller | Date: | Wed, 15 Jun 2016 19:28:31 +0000 |
| Subject: | Re: Throwing an Error for require expressions in PHP7.x | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-94023@lists.php.net to get a copy of this message | ||
Oh, just read the require example, didn't read it was planned for all file
functions.
Fleshgrinder <php@fleshgrinder.com> schrieb am Mi., 15. Juni 2016, 19:57:
> On 6/15/2016 7:52 PM, Niklas Keller wrote:
> > I think it can go into 7.1. It's not a BC break, as it will still
> produce a
> > fatal error if the error isn't caught.
> >
>
> file_get_contents() and friends emit an E_WARNING and not an E_ERROR or
> worse. ;)
>
> --
> Richard "Fleshgrinder" Fussenegger
>
>