Home >Backend Development >PHP Tutorial > 请教下thinkphp怎么控制输出

请教下thinkphp怎么控制输出

WBOY
WBOYOriginal
2016-06-13 12:41:461015browse

请问下thinkphp如何控制输出啊
比如我有一个数组哈$names = array("111111111111111111111","222222222222222222222","333333333333333333333");



{$vo}



我要控制这个VO值的长度怎么来做啊,不是Lenth的值哈,就是我想控制只取5个字符出来的意思。
请老师赐教!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn