update : 2015.11.03
php.shukuma.com검색:
|
RecursiveArrayIterator::hasChildren(PHP 5 >= 5.1.0) RecursiveArrayIterator::hasChildren — Returns whether current entry is an array or an object. 설명
public bool RecursiveArrayIterator::hasChildren
( void
)
Returns whether current entry is an array or an object for which an iterator can be obtained via RecursiveArrayIterator::getChildren(). 인수이 함수는 인수가 없습니다. 예제
Example #1 RecursiveArrayIterator::hasChildren() example
<?php 위 예제의 출력: No children. No children. a : apple p : pear 참고
|