Howdy. I stopped in to create this post and read a recent post about PHP 5 OOP that is related but I have no specific programming issues. There were some very interesting thoughts regarding studying and learning the language. I have concerns regarding what I should focus on. I’m pretty well through with the basics as far as syntax, creating variables, functions, arrays etc. and I’m looking to advance. I’ve done a lot of searching in the past few days for books about PHP and have found many that were published back in 2004-2007 and a few of those look very detailed and worth the cost. However are they worth spending time if the procedures and methods are that old? Can one study these books and easily convert to newer ways to implement php? If they are not worth spending time on then why do they remain on the market with such high ratings? There are a few books with more recent publish dates that deal with PHP 6 but PHP 6 hasn’t been released yet. I would also like to find an ebook with exercises like a workbook to test and seat my knowledge of PHP5. I’m so confused! PHP5<--> PHP6 Any thoughts would be appreciated.
If you want to learn OOP, I’d suggest to learn some native OOP language, like Java.
If you want to learn PHP, I’d suggest to buy a book and start learning.
Most of things you can learn from the book are common for all languages. Loops, conditions, variables, arrays, debugging, code formatting. Once you learn programming, you can switch to any language pretty easy. There are not much difference between them. Between even languages, not versions.
There are not so much difference between 5.3 and 6 to fear them. 6 is just 5 with native multibyte support.
OOP is paradigm and you can learn it with any language. PHP is not the best language to learn OOP though