News Feed
Jobs Feed
Sections




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

Anthony Ferrara's Blog:
Parameter Type Casting in PHP
March 06, 2012 @ 11:05:32

Anthony Ferrara has a new article posted to his site today about parameter typecasting and the discussions that have been happening about it on the PHP "internals" mailing list.

As any of you who follow the PHP internals list know, scalar type hinting has been a hot topic as of late. You'll also know that I've submitted two new RFC (Request For Comment) proposals for inclusion of two new major features in the PHP language. I figured it was worth going into both RFCs and patches a little deeper, explain my rationale and (hopefully) garner some more visibility of the proposals.

He shares the details of the two main RFCs that are proposed right now - parameter type casting hints and object scalar casting magic methods (both with code examples). Right now, they're only in the patch stage and there's talk of improving the current casting functionality of PHP before something like one of these goes into place.

0 comments voice your opinion now!
parameter type casting proposals rfc internals mailing list


blog comments powered by Disqus

Similar Posts

Greg Beaver\'s Blog: How can you help out with PEAR or phpDocumentor?

Zend: Zend/PHP Conference & Expo 2007 Speakers List Posted

LivePipe Blog: What PHP6 Actually Needs

Zend: Zend/PHP Conference & Expo 2007 Speakers List Posted

Nik Chankov's Blog: 10 reasons to choose CakePHP as Framework


Community Events











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


code unittest podcast overview application composer introduction hack package framework hhvm facebook release example component opinion install security language symfony2

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