Upgrade all projet constructors from PHP4 to PHP5