note 8702 added to Migrating from PHP/FI 2.0 to PHP 3.0
| From: | php-general at lists dot php dot net | Date: | Mon, 25 Sep 2000 11:22:00 +0000 |
| Subject: | note 8702 added to Migrating from PHP/FI 2.0 to PHP 3.0 | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-5376@lists.php.net to get a copy of this message | ||
Additions (and warnings) to the script above:
The concats-part changes the file opening method "w+" to "w." (or
"r+")
In the function-part change:
$text =~ s%[Ff]unction[ ]*
and
([a-zA-Z0-9]*) -> ([a-zA-Z0-9_]*)
(Also you have to add commas when there are more than one argument in the function.)
http://www.php.net/manual/migration.php