Wouldn't your tests be invalid once you rewrite it in PHP 5.4? Which is a complete rewrite from PHP4