Art. 6. Consummated, frustrated, and attempted felonies. – Consummated felonies as well as those which are frustrated and attempted, are punishable.
A felony is consummated when all the elements necessary for its execution and accomplishment are present; and it is frustrated when the offender performs all the acts of execution which would produce the felony as a consequence but which, nevertheless, do not produce it by reason of causes independent of the will of the perpetrator.
There is an attempt when the offender commences the commission of a felony directly or over acts, and does not perform all the acts of execution which should produce the felony by reason of some cause or accident other than this own spontaneous desistance.
Art. 51. Penalty to be imposed upon principals of attempted crimes. – A penalty lower by two degrees than that prescribed by law for the consummated felony shall be imposed upon the principals in an attempt to commit a felony.
Art. 56. Penalty to be imposed upon accomplices in an attempted crime. – The penalty next lower in degree than that prescribed by law for an attempt to commit a felony shall be imposed upon the accomplices in an attempt to commit the felony.
link to the complete text of the Revised Penal Code: Philippines-Penal Code-1930-eng