add: cxx & php 's after-mode hook