The php5 version takes advantage of some of the new OOP features, the use of the try/catch construct for instance. However, the php4 version is fully functional and works in both environments, and is also actively maintained.