{"id":208512,"date":"2020-11-29T03:30:30","date_gmt":"2020-11-28T19:30:30","guid":{"rendered":"http:\/\/4563.org\/?p=208512"},"modified":"2020-11-29T03:30:30","modified_gmt":"2020-11-28T19:30:30","slug":"php%e9%9b%85%e9%bb%91%e6%8e%a2%e9%92%88v0-4-7%e5%8e%bb%e9%99%a4bug%e4%bf%ae%e6%94%b9%e7%89%88%ef%bc%88%e5%b7%b2%e9%80%82%e9%85%8dphp-8-0%ef%bc%89","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=208512","title":{"rendered":"PHP\u96c5\u9ed1\u63a2\u9488v0.4.7\u53bb\u9664BUG\u4fee\u6539\u7248\uff08\u5df2\u9002\u914dPHP 8.0\uff09"},"content":{"rendered":"\n<p>  \t\t\t\t\t<strong>laibokeadd<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3>PHP\u96c5\u9ed1\u63a2\u9488v0.4.7\u53bb\u9664BUG\u4fee\u6539\u7248\uff08\u5df2\u9002\u914dPHP 8.0\uff09<\/h3>\n<p>  \t\t \u672c\u5e16\u6700\u540e\u7531 laibokeadd \u4e8e 2020-11-29 03:01 \u7f16\u8f91 <\/p>\n<p> \u7531\u4e8ePHP\u96c5\u9ed1\u63a2\u9488\u7684\u4f5c\u8005\uff0c\u8c8c\u4f3c\u5df2\u7ecf\u4e0d\u518d\u7ef4\u62a4PHP\u96c5\u9ed1\u63a2\u9488\u4e86\u3002\u6545\u5728\u6b64\u7efc\u5408\u4e86\u5404\u79cdPHP\u96c5\u9ed1\u63a2\u9488\u4e0d\u80fd\u5728PHP 7.0\u53ca\u4ee5\u4e0a\u73af\u5883\u4e0b\u8fd0\u884cBUG\u7684\u89e3\u51b3\u529e\u6cd5\u3002\u5e76\u4e14\uff0c\u6b64\u7248\u672c\u5df2\u7ecf\u9002\u914d\u4e86\u4e8e2020\u5e7411\u670826\u65e5\u6b63\u5f0f\u53d1\u5e03\u7684PHP 8.0\u5f53\u4e2d\uff0c\u7f51\u7edc\u4e0a\u76ee\u524d\u8fd8\u672a\u88ab\u63d0\u53ca\u5230\u7684\uff0c\u672c\u4eba\u53d1\u73b0\u5e76\u5904\u7406\u7684BUG\u3002\u8be6\u60c5\u53ef\u4ee5\u5bf9\u6bd4\u539f\u59cb\u7248\u672c\u7684PHP\u96c5\u9ed1\u63a2\u9488V0.4.7\u7b80\u4f53\u4e2d\u6587\u7248\uff0c\u8fdb\u884c\u5bf9\u7167\u5904\u7406\u3002\u6b22\u8fce\u5927\u5bb6\u4ee5\u9488\u4f1a\u53cb\u3002<\/p>\n<p>  \u4e3b\u8981\u53d1\u73b0\u7684BUG\uff1a<\/p>\n<p>  1\u3001PHP 8.0\u5df2\u7ecf\u65e0\u6cd5\u6253\u5f00\u4e0d\u5b58\u5728\u4e8e\u670d\u52a1\u5668\u4e0a\u7684\u6587\u4ef6\uff0c\u4f1a\u76f4\u63a5\u62a5\u9519\u3002\u56e0\u6b64\uff0c\u672c\u4eba\u5c06\u6253\u5f00\u6587\u4ef6\u6027\u80fd\u6d4b\u8bd5\u7684\u6253\u5f00\u6587\u4ef6\uff0c\u66f4\u6539\u4e3a\u4e86\u63a2\u9488\u6587\u4ef6\u3002\u6027\u80fd\u4e0e\u539f\u59cb\u7248\u672c\u53ef\u80fd\u7565\u6709\u5dee\u5f02\uff0c\u6d4b\u8bd5\u7ed3\u679c\u4ec5\u4f9b\u4e0e\u539f\u7248\u4e0d\u6253\u5f00\u4efb\u4f55\u6587\u4ef6\u7684\u7248\u672c\u8fdb\u884c\u53c2\u8003\u3002<br \/>  2\u3001PHP 8.0\u5df2\u7ecf\u65e0\u6cd5\u5c06$*_SERVER\u81ea\u52a8\u8f6c\u6362\u4e3a$*_SERVER[&quot;PHP_SELF&quot;]\uff08\u5c06\u5e38\u91cf\u7c7b\u578b\u8bc6\u522b\u5e76\u81ea\u52a8\u7c7b\u578b\u8f6c\u6362\u4e3a\u5b57\u7b26\u4e32\u7c7b\u578b\uff09\uff0c\u6545\u76f4\u63a5\u5c06\u7a0b\u5e8f\u5f53\u4e2d\u7684$*_SERVER\u90fd\u6539\u4e3a\u4e86$*_SERVER[&quot;PHP_SELF&quot;]\u3002<br \/>  3\u3001PHP 7.3\u7248\u672c\u5f00\u59cb\uff0c\u4f7f\u7528PCRE2\u4f5c\u4e3a\u65b0\u7248\u7684\u6b63\u5219\u5f15\u64ce\uff0c\u89c4\u5219\u6bd4PCRE\u66f4\u4e25\u683c\u3002<\/p>\n<p>  \u4e0b\u8f7d\u94fe\u63a5\uff1a<\/p>\n<p>   php7.3 preg_match*(): Compilation failed: invalid range in character class at offset &#8211; \u6708\u4e0b\u535a\u5ba2: https:\/\/ssrvps.org\/archives\/10154 .<\/p>\n<p>  \u672c\u6587\u9996\u53d1\u4e8e\u6211\u81ea\u5df1\u7684\u535a\u5ba2\u3002\u6b64\u6587\u5f53\u4e2d\u7684*\u8bf7\u81ea\u884c\u53bb\u6389\u3002\u8981\u4e0d\u7136\u7684\u8bdd\uff0c\u6211\u7684\u8fd9\u7bc7\u5e16\u5b50\uff0c\u4f1a\u88abhostloc\u7684\u9632\u706b\u5899\u62e6\u622a\u3002<\/p>\n<p>  \u539f\u6587\u94fe\u63a5\uff1ahttp:\/\/www.laiboke.com\/archives\/539\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>ccf<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u7136\u800c\uff0c\u5730\u5740\u5462\uff1f\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>cmm<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u611f\u8c22\u5206\u4eab\uff0c\u7ed1\u5b9a<\/p>\n<p>  \/**<br \/>   * \u5c3e\u5df4\u6709\u4ed6\u5b58\u5728\u7684\u610f\u4e49<br \/>   *<br \/>   * *\/\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>laibokeadd<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\tccf \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-11-29 02:53<br \/>  \u7136\u800c\uff0c\u5730\u5740\u5462\uff1f<\/p>\n<p>  \u8865\u4e0a\u4e86\u3002\u521a\u624d\u5e16\u5b50\u53d1\u4e0d\u51fa\u6765\uff0c\u4e0d\u77e5\u9053\u662f\u4ec0\u4e48\u6587\u672c\u5185\u5bb9\uff0c\u88abhostloc\u7684\u9632\u706b\u5899\u7ed9\u62e6\u622a\u4e86\u3002\u6211\u5c31\u53ea\u80fd\u5206\u6bb5\u7f16\u8f91\u6765\u53d1\u4e86\u3002\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>b66667777<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u6df1\u591c\u5e2e\u9876\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>ccf<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\tlaibokeadd \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-11-29 02:59<br \/>  \u8865\u4e0a\u4e86\u3002\u521a\u624d\u5e16\u5b50\u53d1\u4e0d\u51fa\u6765\uff0c\u4e0d\u77e5\u9053\u662f\u4ec0\u4e48\u6587\u672c\u5185\u5bb9\uff0c\u88abhostloc\u7684\u9632\u706b\u5899\u7ed9\u62e6\u622a\u4e86\u3002\u6211\u5c31\u53ea\u80fd\u5206\u6bb5\u7f16\u8f91\u6765\u53d1\u4e86 &#8230;<\/p>\n<p> \u591a\u8c22 :lol\t\t\t  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>laibokeadd \u5927\u4f6c\u6709\u8bdd\u8bf4 &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/208512"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=208512"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/208512\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=208512"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=208512"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=208512"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}