sonnyyu:
Pipe the output into log file.Check log file time stamp after reboot.
results : new file created.
contents :
cat phpcli.log
PHP 5.4.5 (cli) (built: Jun 20 2014 10:47:48)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies