【发布时间】:2018-12-09 16:40:23
【问题描述】:
1) 我想了解为什么当我在 php 中调用 gettype(); 时,存储为 bigint 的数字数据会被视为 'string'。
2) php 是否有is_bigint(); 等函数可以检查变量是否为bigint。
3) 当它是 bigint 时,我如何检查数据类型作为乘以 1 或将 0 添加到混合了数字和字母的字符串将返回 'Notice: A non well formed numeric value encountered in line 2' 并在现在相乘的数据类型上调用 gettype(); 将返回:@987654327 @
【问题讨论】:
标签: php sqldatatypes bigint