From: Marcus Boerger Date: Mon, 20 Feb 2006 22:21:54 +0000 (+0000) Subject: - Synch docu X-Git-Tag: php-5.1.3RC1~86 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=289f45c2791f28e159918d8d4efe36d6246c550e;p=php - Synch docu --- diff --git a/ext/spl/doxygen.cfg b/ext/spl/doxygen.cfg index 1d79e40465..d58017a6ad 100755 --- a/ext/spl/doxygen.cfg +++ b/ext/spl/doxygen.cfg @@ -87,8 +87,8 @@ FILTER_SOURCE_FILES = NO #--------------------------------------------------------------------------- # configuration options related to source browsing #--------------------------------------------------------------------------- -SOURCE_BROWSER = NO -INLINE_SOURCES = NO +SOURCE_BROWSER = YES +INLINE_SOURCES = YES STRIP_CODE_COMMENTS = YES REFERENCED_BY_RELATION = YES REFERENCES_RELATION = YES diff --git a/ext/spl/php_spl.c b/ext/spl/php_spl.c index 64cc72d60d..13c80a1268 100755 --- a/ext/spl/php_spl.c +++ b/ext/spl/php_spl.c @@ -598,6 +598,11 @@ PHP_MINFO_FUNCTION(spl) } /* }}} */ +static +ZEND_BEGIN_ARG_INFO(arginfo_iterator, 0) + ZEND_ARG_INFO(0, iterator) +ZEND_END_ARG_INFO(); + /* {{{ spl_functions */ zend_function_entry spl_functions[] = { @@ -611,8 +616,8 @@ zend_function_entry spl_functions[] = { PHP_FE(class_parents, NULL) PHP_FE(class_implements, NULL) #ifdef SPL_ITERATORS_H - PHP_FE(iterator_to_array, NULL) - PHP_FE(iterator_count, NULL) + PHP_FE(iterator_to_array, arginfo_iterator) + PHP_FE(iterator_count, arginfo_iterator) #endif /* SPL_ITERATORS_H */ {NULL, NULL, NULL} }; diff --git a/ext/spl/spl.php b/ext/spl/spl.php index 89689fc0fa..4ba58fceb4 100755 --- a/ext/spl/spl.php +++ b/ext/spl/spl.php @@ -102,8 +102,14 @@ * - interface SplObserver * - interface SplSubject * - class SplObjectStorage + * + * 8) @ref Examples + * + * The classes and interfaces in this group are contained as PHP code in the + * examples subdirectory of ext/SPL. Sooner or later they will be moved to + * c-code. * - * Some articles about SPL: + * 9) Some articles about SPL: * - Introducing PHP 5's Standard Library * - Iterators in PHP5 * - Advanced OOP with SPL in PHP 5 @@ -112,7 +118,7 @@ * - SPL on PHP Wiki * - Die Standard PHP Library (SPL) [german] * - * Talks on SPL: + * 10) Talks on SPL: * - SPL for the masses [pps], [pdf] * - From engine overloading to SPL [pps], [pdf] * - Happy SPLing [pps], [pdf]