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 = bucket;if(strlen(bucket;
if (strlen(bucket;if(strlen(appId) > strlen(bucket)∣∣!strpos(bucket) || !strpos(bucket)∣∣!strpos(bucket, appId,strlen(appId, strlen(appId,strlen(appId)))
{
fullBucket="fullBucket = "fullBucket="bucket-$appId";
}