Add latest versions of php as classes
Require pre-defined php class rather than defining a new one

Attempting to fix duplicate definitions using php::version