你知道怎么用PHP用空格字符替换html标签吗?
如果我显示
strip_tags('<h1>Foo</h1>bar');
我得到结果"foobar"但我需要保持单词是"foo bar".
php
php ×1