Joomla 1.0 and PHP 5.3

hi all of you,

i've just tried to migrate a Joomla 1.0 site to a server running php 5.3. After migrating the files and database i wanted to check the site and bam, guess what? errors…

If you get some errors similar to this one

Warning: Parameter 1 to HTML_content::show() expected to be a reference, value given in /home/xx/public_html/travel/includes/Cache/Lite/Function.php on line 92

it's because Joomla 1.0 is not compatible with php 5.3. The fix is quite simple: add a for-loop to the Function.php file (beginning of the call-function) and everythng runs again. Here the code:

<?php

$arguments = func_get_args();
$numargs = func_num_args();
for ($i = 1; $i < $numargs; $i++) {
   $arguments[$i] = &$arguments[$i];
}

?>

source: http://www.asim.pk/2010/01/13/joomla-does-not-support-php-5-3/