News Feed
Jobs Feed
Sections




Recent Jobs

News Archive
Tibo Beijen's Blog:
Explicit PHP6?
June 12, 2009 @ 10:27:26

Tibo Beijen takes his own look at some of what PHP6 will have to offer and talks a bit about how it would have helped him in a current project:

I'm currently working on [a project] where I've been experimenting with 'domain objects' having 'scalar' or 'value' objects as properties (more on that later).

The talks specifically about two of the upcoming features - type hinting and the __cast magic method that allows you to correctly cast a variable into a different type. He illustrates with some code that handles and manipulates user data and handles exceptions on an incorrect type cast.

0 comments voice your opinion now!
typehint cast php6



Similar Posts

LivePipe Blog: What PHP6 Actually Needs

Justin Silverton\'s Blog: What would you like to see in PHP 6?

Vidyut Luther\'s Blog: PHP Namespaces - Working with external teams and possibly frameworks

SitePoint PHP Blog: What won\'t be in PHP 6

Stubbles Blog: More PHP6 Wishlist Talk (Annotations)


Community Events









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


windows wordpress podcast sqlserver microsoft job conference performance opinion zendframework extension symfony zend feature release hiphop facebook developer codeigniter framework

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