WIP on php samples/macros