Re: Function type hinting

From: Date: Tue, 01 Jan 2008 00:25:53 +0000
Subject: Re: Function type hinting
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-34313@lists.php.net to get a copy of this message
Are you interested in working together on some patches? I am trying to write a patch for function return value type hinting as well as class property type hinting. Maybe even regular variable type hinting if possible. > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi all, > > I'm monitoring this subject closely because for me and my inner Zen, > having type hint next to namespaces is one of *the* things I'm looking > forward. > > Now the current subject was only about return values, for me I'm looking > for the big picture, having scalar type hints every where possible. > > I was using Sam's patch for some tests and was very satisfied with. > > Besides type hinting for all types, my only left wish is a more > integrated usage of Exception (UnknownMethod, InvalidArgument, etc.) > > - - Markus > > Marcus Boerger wrote: >> Hello Sam, >> >> we actually thought of doing it, yes. And apparently I wanted to do >> something but I didn't find any time in the past year to be honest. >> >> marcus >> >> Thursday, December 27, 2007, 7:17:16 PM, you wrote: >> >>> I read that type hinting for function return values was going to be >>> implemented, is this true? If not, is it something that could be >>> implemented if I were to write a patch? >> >> >> >> >> Best regards, >> Marcus >> > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFHeW4x1nS0RcInK9ARAqo+AJkBABGAww7cPP2mwdAMYBf2rIyrXgCfRhR2 > pr1v9Nm3QcAGRBHdXUFT1wc= > =xjjT > -----END PGP SIGNATURE----- > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.internals (#34313) next »