Unterminated entity reference in PHP

后端 未结 7 1430
遥遥无期
遥遥无期 2021-02-02 06:06

Here is my code:

\');
$pro         


        
7条回答
  •  我在风中等你
    2021-02-02 06:40

    If you use the new created node you can set the value by accessing {0} property. This should escape any special characters.

    $childNode = $parent->addChild($name);
    $childNode{0} = $value;
    

提交回复
热议问题