Before March 1st aka PHP 5.1 beta
| From: | Marcus Boerger | Date: | Thu, 17 Feb 2005 19:18:53 +0000 |
| Subject: | Before March 1st aka PHP 5.1 beta | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-15052@lists.php.net to get a copy of this message | ||
Hello internals,
before we rush into another version, how about clearing some open issues
that were explicitly relayed from 5.0 to 5.1.
1) __toString()
There was a problem with the Zend engine 2.0 that forced us to drop this
feature. Now that we have 2.1 we should check again and readd the feature.
Since PHP is designed to generate string output i think that should be
made as easy as possible. And after learning echo and '.' it is hard to
explain that 'echo $foo . $bar' could result in something different than
'echo $foo, $bar'. Besides if it turned out that there is still a
reentrance problem then we'd need to remove __call, __get, __set,
iterators.....
2) type hinting and NULL
We decided to find a way to handle NULL. Iirc then we settled down on
allowing 'foo(BLA $obj = NULL) which could be easily added.
3) type hinting and arrays
We decided that we want typehinting for arrays since that is a very
special kind. Since my array-typehinting patch was considered 'not so
nice' i hope somebody else has a better idea.
4) php 5.1 is aiming to increase performance and security => ifsetor
It is nice and easy and fast...only it's name. Well guys come on that's
the stupiest reason to reject. The name is selfspeaking, you're all only
not so used to its name as you are with foreach for now.
5) did we came to a conclusion on Rasmus' input filtering yet
Since we said we aim to increase security with 5.1 we should incorporate
that idea/technique in some way.
--
Best regards,
Marcus