run in php files with functions using docblock to generate arrays. alpha version