The invention provides a phosphorus substituent group-containing quinoline compound as shown in a formula (I). Simultaneously, the invention also discloses a preparation method and an application of the compound as well as a medicament containing the phosphorus substituent group-containing quinoline compound. The compound is an inhibitor of protein kinase, can be used for treating diseases caused by abnormal protein kinase activity, such as tumour and the like.