diff options
author | Marcus Boerger <helly@php.net> | 2005-05-30 20:10:38 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2005-05-30 20:10:38 +0000 |
commit | ae35d25940c14f3c1ae7a6d09a4a1f35756d1a34 (patch) | |
tree | 5cbd17532657f7f13b1c1c4b6c8ca3116caaa1b0 /ext/spl | |
parent | f41bf6123b9c9714e1007d82b2e5d78ebf8dd00b (diff) | |
download | php-git-ae35d25940c14f3c1ae7a6d09a4a1f35756d1a34.tar.gz |
- Update
Diffstat (limited to 'ext/spl')
-rwxr-xr-x | ext/spl/internal/fileobject.inc | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/ext/spl/internal/fileobject.inc b/ext/spl/internal/fileobject.inc index df48fa1670..51ecc06ddb 100755 --- a/ext/spl/internal/fileobject.inc +++ b/ext/spl/internal/fileobject.inc @@ -73,8 +73,9 @@ class FileObject implements RecursiveIterator, SeekableIterator } /** - * @$delimiter character used as field separator - * @enclosure end of + * @param delimiter character used as field separator + * @param enclosure end of + * @return array containing read data */ function fgetcsv($delimiter = ';', $enclosure = '') { @@ -110,8 +111,10 @@ class FileObject implements RecursiveIterator, SeekableIterator } /** - * @pos new file position - * @whence seek method (SEEK_SET, SEEK_CUR, SEEK_END) + * @param pos new file position + * @param whence seek method (SEEK_SET, SEEK_CUR, SEEK_END) + * @return Upon success, returns 0; otherwise, returns -1. Note that + * seeking past EOF is not considered an error. */ function fseek($pos, $whence = SEEK_SET) { @@ -140,7 +143,7 @@ class FileObject implements RecursiveIterator, SeekableIterator } /** Get a line from the file and strip HTML tags - * @param $allow_tags tags to keep in the string + * @param $allowable_tags tags to keep in the string */ function fgetss($allowable_tags = NULL) { @@ -159,7 +162,7 @@ class FileObject implements RecursiveIterator, SeekableIterator /** * @param $str to write - * @param $lngth maximum line length to write + * @param $length maximum line length to write */ function fwrite($str, $length = NULL) { @@ -175,7 +178,7 @@ class FileObject implements RecursiveIterator, SeekableIterator } /** - * @param new size to truncate file to + * @param $size new size to truncate file to */ function ftruncate($size) { |