Y
Hacker News
new
|
ask
|
show
|
jobs
by
jiggy2011
4254 days ago
PHP5 has real type hinting in the language, so you don't need to write any more than you would in Java.
2 comments
TazeTSchnitzel
4253 days ago
And soon it'll even have return typing, should that RFC pass.
link
Rapzid
4254 days ago
phpdoc handles much more than just typing function parameters.
link
debaserab2
4253 days ago
By far the most common usage is parameters and return values. Even moreso than comments.
link