結果 : php check if object is type of class