Jump to content

PHP4 vs PHP5


SmokingMan

Recommended Posts

I'm learning PHP on my own at home using an older (but free) book using PHP4. I was wondering if there are any major differences in the two versions. The book I'm using is"PHP and MySQL Web Development" by Luke Welling and Laura Thompson. It seems to be well written and it walks you through the examples and scripts so they are easy to understand. I was just curious as to what the differences in the two versions were.

Link to comment
Share on other sites

PHP's migration guide shows those differences in detail. Besides what you'll see there, there are some extensions (be it PECL or PEAR style extensions) that could only work with PHP5 or PHP4. The ones I personally use are only for PHP5... well... most of the times. So having that said, I'm pretty tied to it. If you're still learning, you could lean both ways depending on your needs and your host.
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...