News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Ilia Alshaetsky's Blog:
Type Hinting - Conclusion
July 23, 2009 @ 08:27:52

Following up on all of the craziness that was caused by the suggestion of including type hinting into the PHP core, Ilia Alshaetsky recently posted some of his thoughts on how things turned out and where he'll go from here.

Unfortunately, while initial outpouring of support for inclusion of type hinting into PHP 5.3 and 6 was substantial, it all kinda petered out once more people started voting. To be specific, there is a large amount of support for the feature in general, but very few people seem to think it should go into 5.3. [...] That said, at work we will transition to 5.3 soon, probably around 5.3.2/3 time, so I do need a type hinting patch. To that effect I've cleaned up and improved the old patch based on comments from various people, notably Stas and Dmitry (thank guys) and made a copy that I intend to use for work.

He talks about how the patch works - no more virtual types and no casting support. Three things have been changed to make it all work: modification to the parser, added a getTypeHint function, properly parse type hints in the code.

0 comments voice your opinion now!
release patch typehint


blog comments powered by Disqus

Similar Posts

Christian Stocker's Blog: Profile XSLT transformations within PHP

SitePoint PHP Blog: Lexical scope to appear in PHP?

Community News: PHP 5.3beta1 Announced

Pierre-Alain Joye's Blog: Release Announcements (GD, Hidef, and Zip)

Zend Developer Zone: Zend Platform 3.0 Released


Community Events





Don't see your event here?
Let us know!


composer community symfony voicesoftheelephpant package series security tool laravel podcast introduction library opinion release update version interview framework install language

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework