結果 : php check if variable is type of class