SplObjectStorage::current(PHP 5 >= 5.1.0) SplObjectStorage::current — Returns the current storage entry Описание
public object SplObjectStorage::current
( void
)
Returns the current storage entry. Список параметровУ этой функции нет параметров. Возвращаемые значенияThe object at the current iterator position. Примеры
Пример #1 SplObjectStorage::current() example
<?phpРезультатом выполнения данного примера будет что-то подобное:
object(stdClass)#2 (0) {
}
string(2) "d1"
object(stdClass)#3 (0) {
}
string(2) "d2"
Смотрите также
|
||