Re: PHP 5 migration chapter
| From: | Mehdi Achour | Date: | Sun, 25 Jan 2004 21:21:32 +0000 |
| Subject: | Re: PHP 5 migration chapter | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969358455@lists.php.net to get a copy of this message | ||
Hi Nuno
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)It seems that this file isn't really up to date. For example, thetere's three new array functions not mentionned : - array_uintersect() - array_uintersect_uassoc() - array_uintersect_assoc() we shouldn't only rely on this file. There's also a lot of undocumented functions. We should take care of them. There is also the following extensions to document : - Oci8, maintainer : Antony Dovgal : http://news.php.net/article.php?group=php.internals&article=6493 - spl, maintainer : Marcus Boerger :
* Extensions moved to PECL (and maybe an explanation/FAQ about PECL)For the F.A.Q, I think we can use Wez's fud buster here :) http://news.php.net/article.php?group=php.internals&article=6304
* MySQL removed and SQLite added by defaultSQLite docs should be improved a lot, I'll try to work on it.
* 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:Yes, like the PHP 3 -> PHP 4 migration stuff ;)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 underApache2 SAPI6. the T_ML_CONSTANT constant is no longer defined by the ext/tokenizerextension.7. argc and argv vars change in CLI. 8. Classes must be declared before usedAny more ideas? Where to put this? In apendices?......
Nunodidou