Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c1d555 commit 9c3efd1Copy full SHA for 9c3efd1
think/SocketV2.php
@@ -86,7 +86,7 @@ public function __construct(App $app, array $config = [])
86
$this->client->setCurlForbidReuse($this->config['curl_forbid_reuse'] ?? false);
87
88
$version = ltrim(InstalledVersions::getPrettyVersion('topthink/framework'), 'v');
89
- if (preg_match('~(\d+\.?)+~', $version)) {
+ if (preg_match('~^(\d+\.?)+$~', $version)) {
90
$this->newImplement = (bool) version_compare($version, '8.1.2', '>');
91
}
92
0 commit comments