3 ms·
Which becomes ironic because you end up writing way more text into the file for phpdoc then you would have if it were a static language to begin with; and you e
by Rapzid 12y ago
Which becomes ironic because you end up writing way more text into the file for phpdoc then you would have if it were a static language to begin with; and you end up treating the variables as static type anyway! :|
- jiggy2011 12y agoPHP5 has real type hinting in the language, so you don't need to write any more than you would in Java.
- Rapzid 12y agophpdoc handles much more than just typing function parameters.
- debaserab2 12y agoBy far the most common usage is parameters and return values. Even moreso than comments.
- TazeTSchnitzel 12y agoAnd soon it'll even have return typing, should that RFC pass.