男女疯狂一边摸一边做羞羞视频|啊好深好硬快点用力别停动态图|亚洲一区无码中文字幕|特级无码毛片免费视频播放▽|久久狠狠躁免费观看|国内精品久久久久久网站

SimpleXMLIterator::key

(PHP 5, PHP 7, PHP 8)

SimpleXMLIterator::keyReturn current key

說(shuō)明

public SimpleXMLIterator::key(): mixed

This method gets the XML tag name of the current element.

參數

此函數沒(méi)有參數。

返回值

Returns the XML tag name of the element referenced by the current SimpleXMLIterator object or false

范例

示例 #1 Get the current XML tag key

<?php
$xmlIterator 
= new SimpleXMLIterator('<books><book>PHP basics</book><book>XML basics</book></books>');

echo 
var_dump($xmlIterator->key());
$xmlIterator->rewind(); // rewind to the first element
echo var_dump($xmlIterator->key());

?>

以上例程會(huì )輸出:

bool(false)
string(4) "book"

男女疯狂一边摸一边做羞羞视频|啊好深好硬快点用力别停动态图|亚洲一区无码中文字幕|特级无码毛片免费视频播放▽|久久狠狠躁免费观看|国内精品久久久久久网站