阅读背景:

如何在回显字符串时防止PHP删除XML标记

来源:互联网 

I am executing an external command in PHP via exec and I take that output (which is an array) and then get the individual strings search for specific strings. I then wish to echo those strings to the screen. However, some of these strings contains XML examples and they are getting stripped. How can I keep PHP from stripping the XML? I'm using PHP 5.6.2.I am executing an external command in PHP via e




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: