Re: PHP Specification

From: Date: Thu, 27 Mar 2014 01:11:36 +0000
Subject: Re: PHP Specification
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-73448@lists.php.net to get a copy of this message
> There are so many bugs which are actually considered features by so
> many people of this list. But actually, I'd really love you guys
> specify the tons of examples of really weird behaviour found here:

> http://www.phpwtf.org/

> That should be a good read for everyone who thinks that PHP is just
> fine and does not need a fundamental redesign.

You seem to contradict yourself here. Do you want those
implementations reverse-engineered into a specification ("spec to
build," as was done with ECMAScript) or do you want a "fundamental
redesign" (implying those examples should behave differently)?

Also, if you submit a list of legit surprises, it shouldn't have
Newbie Nodocs examples cluttering it up. FALSE fails an array
typehint? A string constant can't be checked with instanceof, but a
$variable variant can be? NULL isn't considered scalar? Sorry, these
just don't carry any shock value. Yohgaki's inconsistencies RFC has
much better zingers if that's what you want.

-- Sandy





Thread (53 messages)

« previous php.internals (#73448) next »