Warning: strpos(): Offset not contained in string in /www/wwwroot/8.8.8.8.8/vendor/tencentcloudbase/tencentcloud-client-php/src/TCCosClient.php on line 106
我也不知道是什么问题,感觉这里的代码很奇怪。直接把代码改了一下,负号去掉。
$fullBucket =
b
u
c
k
e
t
;
i
f
(
s
t
r
l
e
n
(
bucket; if (strlen(
bucket;if(strlen(appId) > strlen(
b
u
c
k
e
t
)
∣
∣
!
s
t
r
p
o
s
(
bucket) || !strpos(
bucket)∣∣!strpos(bucket,
a
p
p
I
d
,
s
t
r
l
e
n
(
appId, strlen(
appId,strlen(appId)))
{
f
u
l
l
B
u
c
k
e
t
=
"
fullBucket = "
fullBucket="bucket-$appId";
}