Migrating from PHP4 to PHP5
January 30, 2008 | In MySQL, WebTechnology | No CommentsPHP 5 Gotchas - Some Common Error Messages
Call-time pass-by-reference has been deprecated
calling a variable by reference during the function call instead of in the function definition:
$conn =&getConnection();
OCIBindByName($stmt,"EMPLID",&$eeid, strlen($eeid) )
script declaration required (may be php.ini or apache setting)
variable declaration
initialize variables // set variables to null or blank
Some Other Gotchas
MYSQL separated from base PHP5
have to compile MySQL support into PHP now just like other db’s
Guides and Documentation
PHP.NET - Migrating from PHP 4 to PHP 5
http://us3.php.net/migration5/
Chapter 60. Migrating from PHP 4 to PHP 5
http://www.phpbuilder.com/manual/en/faq.migration5.php
A PHP V5 migration guide
http://www.ibm.com/developerworks/library/os-php-v5migr/index.html
Powered by WordPress
RSS Feed - Syndicate this Site
and comments feed



