2019年7月3日
摘要: PHP定义空对象:$obj = (object)null;或$obj = (object)array(); 定义空数组:$arr = array();或$arr = [];//自 5.4 起可以使用短数组定义语法,用 [] 替代 array()。 接口返回时确认是对象格式 或者数组格式。 阅读全文
posted @ 2019-07-03 16:17 caohongchang 阅读(4797) 评论(0) 推荐(0)
摘要: 学习自 https://www.cnblogs.com/jennyyin/p/7895010.html,感谢原博主的奉献 mysql支持多种类型,大致可以分为三类:数值、字符串、日期/时间。 数值类型类型 大小 范围(有符号) 范围(无符号) 用途tinyint 1字节 (-128, 127) (0 阅读全文
posted @ 2019-07-03 16:16 caohongchang 阅读(2902) 评论(0) 推荐(0)