Check PHP source is compatible with PHP environment