Re: Deprecate short_open_tag ini directive?

From: Date: Tue, 12 Mar 2019 16:57:45 +0000
Subject: Re: Deprecate short_open_tag ini directive?
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-104683@lists.php.net to get a copy of this message
On Di, 2019-03-12 at 15:53 +0000, Rowan Collins wrote: > On Tue, 12 Mar 2019 at 13:28, G. P. B. <george.banyard@gmail.com> > wrote: > > > > > I was more going along the lines of removing short tags altogether > > with the > > ini setting as they are not available out of the box except if you > > use a > > special compile flag. > > > > I don't really follow this reasoning: if we removed every feature > which wasn't enabled out of the box, we wouldn't need an INI file at > all. Which would be good - as all those things make writing portable code harder.    $ echo '<?xml ?>' | php Is a valid program, which will behave vastly different based on the ini setting. Of course for some things having a config is good (error levels arguably, extension loading, ...) but for the raw language syntax and behavior not so. johannes

« previous php.internals (#104683) next »