Re: Upgrade

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ben wrote:
It really depends on your situation. We are an ISP hosting lots of website. Upgrading from 4 to 5 means a lot of sites will have trouble. Personally I have some problem of upgrading from 4 to 5.
The below codes work on 4:

include("DB/DataObjects.php");
$pro = DB_DataObject::factory('Product');
$pro->find();
while($pro->fetch())
$allPro[] = $pro;
But on 5, it has to be modified to
include("DB/DataObjects.php");
$pro = DB_DataObject::factory('Product');
$pro->find();
while($pro->fetch())
$allPro[] = clone $pro;
The above is only an example. So upgrading to 5 is not an option for us.

--
Ben
Web Design Shropshire, Software programing
http://www.sparkcomputing.co.uk

Thanks, I did find a way to do what I needed to do and not have to upgrade. There are more system calls but it won't be used often enough to worry about.

Ed

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux