News Feed
Sections




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

Ilia Alshanetsky's Blog:
Scalar Type Hints are Here!
May 24, 2010 @ 11:48:19

Ilia Alshanetsky has a quick new post with some great news for some PHP developers out there - scalar type hinting has been introduced into the latest trunk of the PHP project.

About an hour ago, something I've been fighting for almost 2 years happened. The Scalar Type Hinting patch for PHP (the one I wrote almost a year ago) has been adjusted for PHP's trunk tree and committed by Derick.

You can see some of the type hinting features already included in PHP in the manual. This patch adds hinting ability for the other (non-object and non-array) variable types.

1 comment voice your opinion now!
scalar type hint trunk patch


blog comments powered by Disqus

Similar Posts

Patrick Allaert's Blog: Readable PHP code #2 - Make your API handle more!

C. Sadeesh Kumar's Blog: Smart File Type Detection Using PHP

Ligaya Turmelle's Blog: Streams Gem

Anthony Ferrara: Scalar Types and PHP

Bard Farstad's Blog: Optimizing PHP for Intel based Mac


Community Events

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


opinion introduction api part2 configure language framework php7 podcast yii2 application composer project list interview series example symfony laravel community

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