By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,723 Members | 1,876 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,723 IT Pros & Developers. It's quick & easy.

specifying return values for functions?

P: n/a
will this ever be incorporated into PHP?

the typeless nature suggests no. but with the introduction of limited
"TypeHinting" and plans for a full implementation in 6.0 i hope
they'll add this possibility.

really useful for interfaces, especially if programming by contract.
Oct 17 '08 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On 17 Oct, 01:56, Alex Weber <alexwebe...@gmail.comwrote:
will this ever be incorporated into PHP?

the typeless nature suggests no. but with the introduction of limited
"TypeHinting" and plans for a full implementation in 6.0 i hope
they'll add this possibility.

really useful for interfaces, especially if programming by contract.
I sincerely hope not.

If you really want to write strongly typed PHP, take a look at
phplint.

C.
Oct 17 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.