|
update : 2015.11.03
php.shukuma.com검색:
|
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. 예제
Example #1 SplObjectStorage::current() example
<?php위 예제의 출력 예시:
object(stdClass)#2 (0) {
}
string(2) "d1"
object(stdClass)#3 (0) {
}
string(2) "d2"
참고
|