Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我尝试从 XML 中获取 5-10 个值
$xpath = $xml->xpath('//FILM');
它可能设置的起始位置?例子:
$xpath = $xml->xpath('//FILM[position() = 5 and position() = 10');