Create console application in PHP