摘要: 1 <?php 2 header("content-type:text/html; charset=utf-8"); 3 error_reporting(E_ALL); 4 5 class MyClass { 6 7 var $id;//声明变量 8 9 function __construct($ 阅读全文
posted @ 2020-02-19 00:47 鸡儿er 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 1 gettype() 会根据 参数类型返回值: 2 boolean:表示变量为布尔类型 3 integer:表示变量为整数类型 4 double :表示变量为float类型(历史原因) 5 string:表示变量为string类型 6 array:表示变量为数组类型 7 object:表示变量为对 阅读全文
posted @ 2020-02-19 00:35 鸡儿er 阅读(185) 评论(0) 推荐(0) 编辑