Constantsgen modules and php support