title: PHP - Is it safe to use $_SERVER in CLI to get execution start time?
body: <p>I do not wish to rely on a <code>time()</code> call made to a start of the script. Instead, i find <code>$_SERVER['REQUEST_TIME']</code> more favourable. I tried that on CLI and it works. </p>
  
  <p>Since I read docs which say information in the <code>$_SERVER</code> array is not guaranteed, and the array being named as <code>$_SERVER</code>, i was wondering if it safe to use <code>$_SERVER</code> on the CLI. The doc for <code>$_SERVER</code> on php.net says it is "Server and execution environment information". Will <code>$_SERVER['REQUEST_TIME']</code> always be available?</p>