The barium complex [Ba{N(SiMe3)2}2]2 has been used to catalyse the dehydropolymerisation of the phosphine-functionalised hydrosilane 4-Ph2P-C6H4SiH3 (A) with the α,ω-diamine 1,4-(CH2NHMe)2-C6H4 (C), for the production of -[Si(4-C6H4PPh2)H-N(Me)CH2-C6H4-CH2N(Me)]n- polycarbosilazanes that contain dangling phosphino groups along the polymer backbone. The comonomers A and C, specifically prepared for this purpose and comprehensively characterised, lend themselves well to barium-promoted dehydrocoupling catalysis. They allow for the formation of linear, amine-capped polymers with molecular weights in the range 4000-8000 g mol-1, as estimated by DOSY and 1H end-group NMR analyses. The terpolymerisation of C with various mixtures of A and PhSiH2R (R = H or Ph) led to the formation of terpolymers featuring various contents of phosphine-functionalised silazane groups, with an overall composition that reflects well the initial feed ratio of the comonomers. Thermal decomposition and flammability were studied at the microscale on a series of polycarbosilazanes to assess the effect of molecular groups on thermal stability and heat release. The SiCN backbone containing the silazane group significantly contributes to the "charring" of the polymer. By contrast, PPh2, as other groups bearing a phosphorus atom in a low oxidation state, is not an effective char promoter.