Removed warning that does not appear in PHP5