System::tmpdir – Get path of temporal directory


require_once "System.php";

string System::tmpdir ( )


Get the path of the temporal directory set in the system by looking in its environments variables.

Return value

string - The temporal directory on the system


This function can be called statically.

php.ini-recommended removes the E from the variables_order setting, making unavailable the $_ENV array

Create temporary files or directories (Previous) show full path of a command (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.