如何在PHP中添加多余的空格? [英] How to add extra whitespace in PHP?
本文介绍了如何在PHP中添加多余的空格?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想知道如何在php中添加多余的空格,就像\s
一样,请帮助谢谢.
I was wondering how can I add extra whitespace in php is it something like \s
please help thanks.
有没有列出这些东西的教程.
Is there a tutorial that list these kind of things thanks.
推荐答案
像这样:
str_repeat(' ', 5); // adds 5 spaces
这篇关于如何在PHP中添加多余的空格?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文