php学习之%s

WBOY
WBOYOriginal
2016-06-23 14:31:031366browse

%s 是表示要转换成字符的数据类型,具体的数据和数据类型,由后面的变量决定。%s 表示一个字符串。还有其它的,如 :%c 一个 ASCII 字符%d 一个整数%u 一个符号数%x 一个十六进制数还有其它的 %f, %F, %e, %E, %g, %G……具体的可要查PHP手册

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
Previous article:php出错操作Next article:php变化变量