Fixed Error with PHP that did not define a const