PHP did not error, test environment is good, but put on the line of problems, ask the great God to see

Source: Internet
Author: User
PHP no error, test environment is good, but put on the line of problems, ask the great God to see.

Red code is a problem, not add to normal. Is this the question? Can you discuss it in depth? is not the stack problem?

Public Function Getuserstatus ($uid, & $userstatus)
{
$array = Array (
' Ilevel ' = 0,
);

Intermediate ellipsis Get Code
$arr = $this->userstatus->getparam ($result);
$userstatus = $arr [0];

$userproperty = Array ();
$ret = Getuserproperty ($uid, $userproperty), $this
if ($ret < 0) {
return $ret;
}
if (empty ($ret)) {
return 0;
}
$LEVELARR = $this->getlevelandtitle ($userproperty [' experience ']);
$userstatus [' level '] = $LEVELARR [' level '];return 1;
}

Share to:


------Solution--------------------
You just give the code snippet, then you should explain what the code means.
And also what is called "abnormal"
------Solution--------------------
Every time you add 1.1, you know it's a grammatical error or a data error.
------Solution--------------------
Starting with error messages and logs will solve the problem faster than you.
------Solution--------------------
Server-side configuration is not the same as your local
------Solution--------------------
The landlord's problems can not be seen, the forum has an article "The Wisdom of questioning", take a good look, first learn how to ask questions.
  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.