NYCPHP Meetup

NYPHP.org

[nycphp-talk] PHP 6 features discussion

Joseph Crawford codebowl at gmail.com
Sat Aug 13 18:32:38 EDT 2005


I would like to see the Type Hinting expanded in PHP 6. In 5 now you can do

class Test {

public function testDatabase( Database $db ) {

}
}

what if i wanted to make sure it was a String, Integer, Boolean, Float, 
etc.. i would like to see that added to the type hinting ;)

I suggested it hopefully they implement it ;)

-- 
Joseph Crawford Jr.
Codebowl Solutions, Inc.
1-802-671-2021
codebowl at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20050813/e096ea25/attachment.html>


More information about the talk mailing list