Php Create Object From Variable Decelerations