[0] ThrowableError in common.php line 148

语法解析错误: syntax error, unexpected '='

  1. if(!isset($shoptypes['selecttype'])){
  2. return '';
  3. }
  4. $shoptypes1['selecttype']=isset($shoptypes['selecttype'])?$shoptypes['selecttype']:'';
  5. $shoptypes1['name1']=isset($shoptypes['name1'])?$shoptypes['name1']:'';
  6. $shoptypes1['name2']=isset($shoptypes['name2'])?$shoptypes['name2']:'';
  7. $i=0;
  8. foreach($shoptypes['type'] as $key=>$value){
  9. if($value!=''){
  10. [$tit,$pic]=explode("@@@",$value);
  11. $pic=tempdir($pic);
  12. $shoptypes1['type'][$i]="$tit@@@$pic";
  13. $j=0;
  14. foreach($shoptypes['type1'][$key] as $keys=>$rs){
  15. if($rs!=''){
  16. $shoptypes1['type1'][$i][$j]=$rs;
  17. $shoptypes1['bianhao'][$i][$j]=$shoptypes['bianhao'][$key][$keys];
  18. $shoptypes1['price'][$i][$j]=number_format($shoptypes['price'][$key][$keys],2,".","");
  19. $shoptypes1['num'][$i][$j]=intval($shoptypes['num'][$key][$keys]);

Call Stack

  1. in common.php line 148
  2. at App::init('mall/') in App.php line 531
  3. at App::module(['mall', 'pintuan', 'show'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], null) in App.php line 461
  4. at App::exec(['type' => 'module', 'module' => ['mall', 'pintuan', 'show']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  5. at App::run() in start.php line 19
  6. at require('/www/wwwroot/818sheq...') in index.php line 29

Environment Variables

GET Data
empty
POST Data
empty
Files
empty

Cookies

user_sid
038adc51f0
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_USER_AGENT
claudebot
HTTP_ACCEPT
*/*
HTTP_HOST
www.818shequ.com
PATH_INFO
/mall/pintuan/show/id/2.html
REDIRECT_STATUS
200
SERVER_NAME
818shequ.com
SERVER_PORT
443
SERVER_ADDR
172.17.0.10
REMOTE_PORT
40560
REMOTE_ADDR
34.227.191.136
SERVER_SOFTWARE
nginx/1.20.2
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/2.0
DOCUMENT_ROOT
/www/wwwroot/818shequ.com
DOCUMENT_URI
/index.php/mall/pintuan/show/id/2.html
REQUEST_URI
/index.php/mall/pintuan/show/id/2.html
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
SCRIPT_FILENAME
/www/wwwroot/818shequ.com/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php/mall/pintuan/show/id/2.html
REQUEST_TIME_FLOAT
1711624859.6039
REQUEST_TIME
1711624859
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/818shequ.com/application/
ENTRANCE
index
THINK_VERSION
5.0.18
THINK_START_TIME
1711624859.6045
THINK_START_MEM
380216
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/818shequ.com/thinkphp/
LIB_PATH
/www/wwwroot/818shequ.com/thinkphp/library/
CORE_PATH
/www/wwwroot/818shequ.com/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/818shequ.com/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/818shequ.com/
EXTEND_PATH
/www/wwwroot/818shequ.com/extend/
VENDOR_PATH
/www/wwwroot/818shequ.com/vendor/
RUNTIME_PATH
/www/wwwroot/818shequ.com/runtime/
LOG_PATH
/www/wwwroot/818shequ.com/runtime/log/
CACHE_PATH
/www/wwwroot/818shequ.com/runtime/cache/
TEMP_PATH
/www/wwwroot/818shequ.com/runtime/temp/
CONF_PATH
/www/wwwroot/818shequ.com/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
HTMLPURIFIER_PREFIX
/www/wwwroot/818shequ.com/vendor/ezyang/htmlpurifier/library
FIRST_LOAD
true
TEMPLATE_PATH
/www/wwwroot/818shequ.com/template/
IS_POST
false
PUBLIC_URL
/public/
PUBLIC_PATH
/www/wwwroot/818shequ.com/public/
UPLOAD_URL
/public/uploads/
UPLOAD_PATH
/www/wwwroot/818shequ.com/public/uploads/
STATIC_URL
/public/static/
STATIC_PATH
/www/wwwroot/818shequ.com/public/static/
PLUGINS_PATH
/www/wwwroot/818shequ.com/plugins/
CACHE_DIR
/www/wwwroot/818shequ.com/runtime/
QUN
商圈
ADMIN_FILENAME
zhang.php