You might want to review this:
http://www.php.net/zend-engine-2.php
Obviously if your PHP4 class had a method called __construct() then you will have problems.
A more subtle issue is that objects are now always passed by reference. Your code may have depended upon a copy being created. For example:
class Foo
{
public $bar = 1;
}
function process_foo($object)
{
$object->bar = 2;
}
$object = new Foo();
echo "Bar is $object->bar\n";
process_foo($object);
echo "Bar is $object->bar\n";
The code will produce different results under PHP4 and PHP5 because in PHP4, a copy of $object will be created and locally modified in process_foo while in PHP5 the object itself will be modified.