php console application