Topic: builsgallery.php doesnt work with php 5.3.0

I was using buildgallery.php on php5.2.9-1 and all was OK. when i upgraded to php5.3.0 i got some errors

Deprecated: Assigning the return value of new by reference is deprecated in ...\buildgallery.php on line 76
Deprecated: Assigning the return value of new by reference is deprecated in ...\buildgallery.php on line 79
Deprecated: Assigning the return value of new by reference is deprecated in ...\buildgallery.php on line 80
Deprecated: Assigning the return value of new by reference is deprecated in ...\buildgallery.php on line 128
Deprecated: Assigning the return value of new by reference is deprecated in ...\buildgallery.php on line 627
Deprecated: Assigning the return value of new by reference is deprecated in ...\buildgallery.php on line 688

these lines are

$errorHandler = &new ErrorHandler();
$this->page = &new Page();
$this->xml = &new Xml();
$thumbNails = &new ThumbNails();
$check = &new XML_check;
$htmlEntityDecode = &new HtmlEntityDecode();

whats wrong? smile all lines are with &new ...