diff options
| author | Tomas V.V.Cox <cox@php.net> | 2001-12-16 01:36:49 +0000 |
|---|---|---|
| committer | Tomas V.V.Cox <cox@php.net> | 2001-12-16 01:36:49 +0000 |
| commit | a74e56fe05f172c73e1e3e6634943c0c69d750e6 (patch) | |
| tree | af1fa68e23239eda54c44079b5bf826e36276d3a /pear/System.php | |
| parent | aadc3fea32e80dd5250253f6e32755f98757cb16 (diff) | |
| download | php-git-a74e56fe05f172c73e1e3e6634943c0c69d750e6.tar.gz | |
improved phpdoc of mkTemp()
Diffstat (limited to 'pear/System.php')
| -rw-r--r-- | pear/System.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pear/System.php b/pear/System.php index a97cc5cece..84c4dc93f7 100644 --- a/pear/System.php +++ b/pear/System.php @@ -284,10 +284,10 @@ class System extends PEAR * Creates temporal files or directories * * Usage: - * 1) System::mktemp("prefix"); - * 2) System::mktemp("-d prefix"); - * 3) System::mktemp(); - * 4) System::mktemp("-t /var/tmp prefix"); + * 1) $tempfile = System::mktemp("prefix"); + * 2) $tempdir = System::mktemp("-d prefix"); + * 3) $tempfile = System::mktemp(); + * 4) $tempfile = System::mktemp("-t /var/tmp prefix"); * * prefix -> The string that will be prepended to the temp name * (defaults to "tmp"). @@ -298,7 +298,7 @@ class System extends PEAR * c:\windows\temp or /tmp will be used. * * @param string $args The arguments - * @return mixed PEAR_Error or true for success + * @return mixed the full path of the created (file|dir) or a PEAR_Error * @access public */ function mktemp($args = null) |
