diff options
| author | Marcus Boerger <helly@php.net> | 2004-04-29 22:52:49 +0000 |
|---|---|---|
| committer | Marcus Boerger <helly@php.net> | 2004-04-29 22:52:49 +0000 |
| commit | a9bdb2ed8879b83d7840e67268f43e5bcb596944 (patch) | |
| tree | fd2307fc76d1ae22c9d0098508c6abd04ed0a45c /ext/spl/spl.php | |
| parent | 74f21310e359d067ee9d941cdda0c035c9e87d8d (diff) | |
| download | php-git-a9bdb2ed8879b83d7840e67268f43e5bcb596944.tar.gz | |
- Fix protos and add notes to the docs
- Reorder func prototypes to show what is common and what is specific
Diffstat (limited to 'ext/spl/spl.php')
| -rwxr-xr-x | ext/spl/spl.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/spl/spl.php b/ext/spl/spl.php index bf3eeac29d..d5c274e687 100755 --- a/ext/spl/spl.php +++ b/ext/spl/spl.php @@ -143,10 +143,14 @@ class ArrayObject implements IteratorAggregate, ArrayAccess function offsetUnset($index); /** \param $value is appended as last element + * \warning this method cannot be called when the ArrayObject refers to + * an object. */ function append($value); /** \return a \b copy of the array + * \note when the ArrayObject refers to an object then this method + * returns an array of the public properties. */ function getArrayCopy(); } @@ -190,10 +194,14 @@ class ArrayIterator implements Iterator, SeekableIterator, ArrayAccess function offsetUnset($index); /** \param $value is appended as last element + * \warning this method cannot be called when the ArrayIterator refers to + * an object. */ function append($value); /** \return a \b copy of the array + * \note when the ArrayIterator refers to an object then this method + * returns an array of the public properties. */ function getArrayCopy(); |
