Optimized php check

+pm