sdjxsgb的ChinaUnix博客shaoguobao.blog.chinaunix.net
sdjxsgb
全部博文(5)
PHP基础函数(2)
PHP基础概念(2)
2011年(5)
我是小可
ThreeMon
tanrixin
lincats
cherish2
分类: 系统运维
2011-08-07 22:04:24
(PHP 4, PHP 5)
settype — 设置变量的类型
设置变量var的类型为type。
需要类型转换的变量。
type可能的取值:
Returns TRUE on success or FALSE on failure.
Example #1 settype() example
Note:Maximum value for "int" is PHP_INT_MAX.
Note:
Maximum value for "int" is PHP_INT_MAX.
上一篇:PHP函数_gettype()
下一篇:PHP基本概念_变量作用域
登录 注册