Quote:
Originally Posted by raymor
PHP 4 sucked major ass, and attracted "programmers" who sucked as badly. The suck language then encouraged them to write even suckier code. PHP 5.4 sucks a lot less, so be sure that whatever you learn from is based on at least PHP 5.2.
If you learn by studying 4.x compatible code, you will only be learning how to suck.
|
5.3+ has improved the language a lot. I wouldn't code below 5.3 these days and would most probably use 5.4.
Closures, namespaces etc. make it so much easier to use.
Also
http://laravel.com/ is the new hot shit in PHP frameworks.