Run PHP functions from command-line