Function __global->cms_get_temp_dir

Definitions

sources/files2.php

  • Find details of where we can save temporary files, taking into account PHP's platform-dependent difficulties.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: array

Returns

  • A tuple: preferred temporary path to save to, whether there's an identified problem saving in the system path, the system path to save to, the local path to save to
  • Type: array
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Find details of where we can save temporary files, taking into account PHP's platform-dependent difficulties.
 *
 * @return array A tuple: preferred temporary path to save to, whether there's an identified problem saving in the system path, the system path to save to, the local path to save to
 */

function cms_get_temp_dir() : array