add php command line mode