Re: [VOTE] Scalar Type Hints
| From: | Matt Ficken | Date: | Tue, 10 Feb 2015 08:09:20 +0000 |
| Subject: | Re: [VOTE] Scalar Type Hints | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-82349@lists.php.net to get a copy of this message | ||
FYI, the patch doesn't cause a performance regression.
I built on and tested with IIS/Windows. Performance remains the same for
Wordpress, Symfony and Joomla. Mediawiki actually increased slightly (5%),
so performance is increase/decrease is not an issue here, the language and
engine are.
If you're interested, see:
http://windows.php.net/downloads/snaps/ostc/pftt/perf/results-20150209-master_rcaf5521-scalar_type_hints_2_strict_mode-8436.html
Regards
-M
On Mon, Feb 9, 2015 at 6:43 PM, Pierre Joye <pierre.php@gmail.com> wrote:
> On Feb 10, 2015 1:22 AM, "Lars Strojny" <lars@strojny.net> wrote:
> >
> > Hi Matteo,
> >
> > sorry for the late response.
> >
> > > On 07 Feb 2015, at 12:46, Matteo Beccati <php@beccati.com> wrote:
> > >
> > > Maybe it's just me, but I didn't quite understand the point you are
> making here. Are you saying that declares are more or less like ini
> settings?
> >
> > Yes, exactly that. The new declare()-statement will fundamentally change
> how the engine behaves and one will have two learn more or less two flavors
> of PHP. Even worse I am forced to use the PHP flavor the person picked who
> changed the declare() statement last.
>
> No. You are not.
>
> > cu,
> > Lars
>