From b9b2bb52fa34d8fdfa3107667f2bf70cad9618d7 Mon Sep 17 00:00:00 2001 From: ayuayue <1401262639@qq.com> Date: Mon, 19 Oct 2020 17:21:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=AD=A3=20ip2long=20=E6=97=B6,explod?= =?UTF-8?q?e=E7=AC=AC=E4=B8=80=E4=B8=AA=E5=8F=82=E6=95=B0=E7=94=B1=20','?= =?UTF-8?q?=E4=B8=BA'.'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/03.PHP/QA.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/03.PHP/QA.md b/docs/03.PHP/QA.md index 570f9d5..289302c 100644 --- a/docs/03.PHP/QA.md +++ b/docs/03.PHP/QA.md @@ -341,7 +341,7 @@ PHP 代码 => 启动 php 及 zend 引擎,加载注册拓展模块 => 对代码 ``` 124.205.30.150=2093817494 -list($p1,$p2,$p3,$p4) = explode(',','124.205.30.150'); +list($p1,$p2,$p3,$p4) = explode('.','124.205.30.150'); $realNum = $p1<<24+$p2<<16+$p3<<8+$p4; ```