Correcting return to support PHP <5.3.3

Only enabling the numeric check if PHP version is 5.3.3 and above