摘要: [xdebug] zend_extension = C:\phpStudy\php53n\ext\php_xdebug-2.6.1-7.0-vc14-nts-x86_64.dllxdebug.idekey=PHPSTORMxdebug.remote_enable=1xdebug.remote_hos 阅读全文
posted @ 2018-09-18 13:51 Flint99 阅读(158) 评论(0) 推荐(0)
摘要: $a = 9; print_r((array) $a) ; 输出: [0=>9] print_r((array) null); 输出: [] 阅读全文
posted @ 2018-09-12 22:57 Flint99 阅读(108) 评论(0) 推荐(0)
摘要: array_values $a = [1,2]; unset($a[1]); $a[] = 3; print_r($a); // 输出 [0=>1,2=>3] 阅读全文
posted @ 2018-09-12 22:40 Flint99 阅读(973) 评论(0) 推荐(1)
摘要: 1118 Row size too large Every table (regardless of storage engine) has a maximum row size of 65,535 bytes. Storage engines may place additional constr 阅读全文
posted @ 2018-09-11 14:43 Flint99 阅读(1015) 评论(0) 推荐(0)
摘要: 【来源】转载于CSDN 账号 tianjinsong 的博客 https://blog.csdn.net/bluetjs/article/details/52936943 占2个字节的:带有附加符号的拉丁文、希腊文、西里尔字母、亚美尼亚语、希伯来文、阿拉伯文、叙利亚文及它拿字母则需要二个字节编码 占 阅读全文
posted @ 2018-09-07 14:55 Flint99 阅读(225) 评论(0) 推荐(0)
摘要: 当转换为 boolean 时,以下值被认为是 FALSE: 布尔值 FALSE 本身 整型值 0(零) 浮点型值 0.0(零) 空字符串,以及字符串 "0" 不包括任何元素的数组 特殊类型 NULL(包括尚未赋值的变量) 从空标记生成的 SimpleXML 对象 所有其它值都被认为是 TRUE(包括 阅读全文
posted @ 2018-09-07 09:28 Flint99 阅读(767) 评论(0) 推荐(0)
摘要: PHP 支持 9 种原始数据类型。 四种标量类型: boolean(布尔型) integer(整型) float(浮点型,也称作 double) string(字符串) 三种复合类型: array(数组) object(对象) callable(可调用) 最后是两种特殊类型: resource(资源 阅读全文
posted @ 2018-09-07 09:23 Flint99 阅读(464) 评论(0) 推荐(0)
摘要: 单行注释仅仅注释到行末或者当前的 PHP 代码块,视乎哪个首先出现。这意味着在 // ... ?> 或者 # ... ?> 之后的 HTML 代码将被显示出来:?> 跳出了 PHP 模式并返回了 HTML 模式,// 或 # 并不能影响到这一点。如果启用了 asp_tags 配置选项,其行为和 // 阅读全文
posted @ 2018-09-05 00:02 Flint99 阅读(988) 评论(0) 推荐(2)
摘要: One thing to remember is, if you decide to omit the closing PHP tag, then the last line of the file should be ended with semi colon. If you add the cl 阅读全文
posted @ 2018-09-04 23:58 Flint99 阅读(527) 评论(0) 推荐(1)
摘要: Closing PHP tags are recognised within single-line comments: <?php // Code will end here ?> This is output as literal text. <?php # Same with this met 阅读全文
posted @ 2018-09-04 23:32 Flint99 阅读(437) 评论(0) 推荐(1)