PHP 5 migration chapter

From: Date: Sun, 25 Jan 2004 11:55:41 +0000
Subject: PHP 5 migration chapter
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969358445@lists.php.net to get a copy of this message
Hello, One of the things I think that is very important now, is the PHP 4 -> 5 migration chapter. This should be ready before PHP 5 is released. Here are the things I remembered to include: * New object model (integrate http://php.net/zend-engine-2.php in the manual) * New functions (check http://php.net/ChangeLog-5.php) * Extensions moved to PECL (and maybe an explanation/FAQ about PECL) * MySQL removed and SQLite added by default * New php-win.exe, php-cli.exe renamed to php.exe, and php.exe renamed to php-cgi.exe * integrate php-src/README.PHP4-TO-PHP5-THIN-CHANGES in the manual: 1. strrpos() and strripos() now use the entire string as a needle. 2. Illegal use of string offsets causes E_ERROR instead of E_WARNING. 3. array_merge() was changed to accept only arrays. 4. porting from mysql_* to mysqli_ 5. PATH_TRANSLATED server variable is no longer set implicitly under Apache2 SAPI 6. the T_ML_CONSTANT constant is no longer defined by the ext/tokenizer extension. 7. argc and argv vars change in CLI. 8. Classes must be declared before used Any more ideas? Where to put this? In apendices?...... Nuno

« previous php.doc (#969358445) next »