Да, блин: наткнулся в комментах в мануале на вот это —
when you use include/require(_once) to add a file that contains functions you want to use in the main document, you must make sure the file doesn't have the php extension
This is because php contents are first evaluated and then included, once evaluated all of te scripts have disappeared