The example in this article describes the method of php outputting a string containing "#". Share it with everyone for your reference, the details are as follows:
Because # is a comment in php, it cannot be output normally and needs to be converted and processed.
Output page:
function zh($str) { for($i=0;$i无标题文档 c#程序设计
Accepting and output page:
function zh_2($str) { for($i=0;$i
I hope this article will be useful to everyone in PHP programming. helped.
For more articles related to methods of php outputting strings containing "#", please pay attention to the PHP Chinese website!