Re: PHP 5 migration chapter

From: 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 default
SQLite 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:
    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?......
Yes, like the PHP 3 -> PHP 4 migration stuff ;)
Nuno
didou

« previous php.doc (#969358455) next »