From 3b01a2b50497b4411d01d6dd294fd08a924919fc Mon Sep 17 00:00:00 2001 From: Kidd Yu <58631254@qq.com> Date: Fri, 9 Jun 2017 01:04:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3useragent=E7=94=9F=E6=88=90?= =?UTF-8?q?=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Beanbun.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Beanbun.php b/src/Beanbun.php index 0bd72b9..feb09f3 100644 --- a/src/Beanbun.php +++ b/src/Beanbun.php @@ -163,17 +163,17 @@ public function check() $text = ''; $version_ok = $pcntl_loaded = $posix_loaded = true; if(!version_compare(phpversion(), "5.3.3", ">=")) { - $text .= "PHP Version >= 5.3.3 \033[31;40m [fail] \033[0m\n"); + $text .= "PHP Version >= 5.3.3 \033[31;40m [fail] \033[0m\n"; $error = true; } if(!in_array("pcntl", get_loaded_extensions())) { - $text .= "Extension posix check \033[31;40m [fail] \033[0m\n"); + $text .= "Extension posix check \033[31;40m [fail] \033[0m\n"; $error = true; } if(!in_array("posix", get_loaded_extensions())) { - $text .= "Extension posix check \033[31;40m [fail] \033[0m\n"); + $text .= "Extension posix check \033[31;40m [fail] \033[0m\n"; $error = true; }