updated PHP constructor to work with EE 2.8