php
文章平均质量分 62
viharas
从现在开始,step by step
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
ErrorException: preg_match(): Compilation failed: invalid range in character class at offset 25
关于php的preg_match正则问题,php7.1正常:'([A-z\d-\/_.]+)?'php7.3会报错,需要修改如下'([A-z\d\-\/_.]+)?'It’s probably a php 7.3 incompatibility issue with the plugin.In php 7.3 PCRE (Perl Compatible Regular Expressions) has been updated to v2.PCRE is a lib.原创 2021-12-15 17:26:05 · 1364 阅读 · 0 评论 -
PHP 32位数操作系统跟64位操作系统下 INT的长度区别
64位,PHP_INT_MAX的值为9223372036854775807,跟MySQL中有符号的bigint型的最大值一样.32位,PHP_INT_MAX的值为2147483647,跟MySQL中有符号的int型的最大值一样.echo date('Y-m-d H:i:s', PHP_INT_MAX); 返回 2038-01-19 11:14:07echo strtotime('2038-01-19 11:14:07'); 返回 2147483647echo strtotime('2038-01-1转载 2020-08-26 13:59:37 · 444 阅读 · 0 评论
分享