Home > Backend Development > PHP Tutorial > php学习之%s

php学习之%s

WBOY
Release: 2016-06-23 14:31:03
Original
1350 people have browsed it

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template