constant REQUEST_TIME

  1. cis7 includes/bootstrap.inc REQUEST_TIME
  2. cle7 includes/bootstrap.inc REQUEST_TIME
  3. elmsmedia7 includes/bootstrap.inc REQUEST_TIME
  4. icor7 includes/bootstrap.inc REQUEST_TIME
  5. meedjum_blog7 includes/bootstrap.inc REQUEST_TIME
  6. mooc7 includes/bootstrap.inc REQUEST_TIME

Time of the current request in seconds elapsed since the Unix Epoch.

This differs from $_SERVER['REQUEST_TIME'], which is stored as a float since PHP 5.4.0. Float timestamps confuse most PHP functions (including date_create()).

See also

http://php.net/manual/reserved.variables.server.php

http://php.net/manual/function.time.php

File

includes/bootstrap.inc, line 218
Functions that need to be loaded on every Drupal request.

Code

define('REQUEST_TIME', (int) $_SERVER['REQUEST_TIME'])
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.