Re: Function type hinting

From: Date: Mon, 31 Dec 2007 22:33:21 +0000
Subject: Re: Function type hinting
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-34309@lists.php.net to get a copy of this message
-----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-----

« previous php.internals (#34309) next »