PHP: DOM element shows attributes but hasAttribute returns nothing

前端 未结 0 1515
说谎
说谎 2021-01-30 13:50

I am trying to get attribute tagName of a DOMElement object, called $parent, but when I use

$attributes = $parent -> attributes

and then I

相关标签:
回答
  • 消灭零回复
提交回复
热议问题