Why we need to Migrate from PHP4 to PHP5
Below are few of the points which describes why it is necessary that we move our web application built on PHP4 to PHP5.
1) More functionality;
2) stability;
3) re-usability;
4) additional features
Major Differences are
1) Syntax changes;
2) Object model changes;
3) new functionality such as XML support
Development Tools:
) Unit testing;
2) PHPDoc;
3) profiler;
4) debugger;
5) E_STRICT setting
Migration Planning:
1) Syntax changes;
2) new keywords;
3) what can be kept;
4) what must be updated
Class and Object Changes:
Guidance on using references;
clone keywords;
rewriting objects
ansition of the PHP EngineUsing the compatibility mode option to work with PHP Engine I and then PHP Engine II
* Database Changes: Setting parameters; calling libraries
* Programming Basics: Best Practices; Debugging; Introduction to HTML
* Using New Features: PDO; XML; DOM; SOAP; etc.
* Optimization: Adopting native extensions; modifying the architecture; using new features
* Optimization Tools:Unit testing details; automated tools; testing and debugging techniques
So Once you start using PHP5 then you will say “PHP 4 End of Life and PHP 5 Future Forecast”



Chintan Patel
July 8th, 2008 at 00:29
Ohh.. this is too complicated for me to understand…
alex
July 8th, 2008 at 02:26
wow,another software freak i guess……im in2 the process f learning php….nice dat i got sum reasons aftr readin this….sure u wil clarify my doubts later
Kushal
July 8th, 2008 at 03:07
EVen for me it is really complicated!
But im sure this will be of great help to all the tech freaks
Cheers!