Документ взят из кэша поисковой машины. Адрес оригинального документа : http://oit.cmc.msu.ru/php/migration4.html
Дата изменения: Sun Feb 3 22:59:10 2002
Дата индексирования: Mon Oct 1 20:14:15 2012
Кодировка:
Migrating from PHP 3 to PHP 4

Appendix C. Migrating from PHP 3 to PHP 4

Table of Contents
What has changed in PHP 4
Running PHP 3 and PHP 4 concurrently
Migrating Configuration Files
Parser behavior
Error reporting
Initializers
empty("0")
Missing functions
PHP 3 extension
Variable substitution in strings
Cookies

What has changed in PHP 4

PHP 4 and the integrated Zend engine have greatly improved PHPs performance and capabilities, but great care has been taken to break as little existing code as possible. So migrating your code from PHP 3 to 4 should be much easier than migrating from PHP/FI 2 to PHP 3. A lot of existing PHP 3 code should be ready to run without changes, but you should still know about the few differences and take care to test your code before switching versions in production environments. The following should give you some hints about what to look for.