You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I'm a novice at submitting bug reports but I like your product so much I had to point this out.
I did purchase a license because I use it all the time its great!
I did not see this particular issue (I may have missed it).. Please help!
Thanks
In Visual Studio Code very often I get messages complaining about builtin PHP functions. I suspected the builtin function has turned back on but I verified it is disabled and asking me to enable it.
To Reproduce
A code snippet (NOT a screenshot of a code snippet) or steps to reproduce the issue
foreach($locs as $key=> $value){
$value =strtoupper(trim($value));
if($value=="") continue;
if(isset($locations[$value])){ $valid[]=$value; }
else {
$errors[] =' Invalid Location ['.$value.']';
}
}
the problem message:
Undefined function 'strtoupper'. intelephase(P1010) (LN 4, Col 13)
Describe the bug
I'm a novice at submitting bug reports but I like your product so much I had to point this out.
I did purchase a license because I use it all the time its great!
I did not see this particular issue (I may have missed it).. Please help!
Thanks
In Visual Studio Code very often I get messages complaining about builtin PHP functions. I suspected the builtin function has turned back on but I verified it is disabled and asking me to enable it.
To Reproduce
A code snippet (NOT a screenshot of a code snippet) or steps to reproduce the issue
foreach($locs as $key=> $value){
$value =strtoupper(trim($value));
if($value=="") continue;
if(isset($locations[$value])){ $valid[]=$value; }
else {
$errors[] =' Invalid Location ['.$value.']';
}
}
the problem message:
Undefined function 'strtoupper'. intelephase(P1010) (LN 4, Col 13)
[{
"resource": "/c:/kdrive/CID/QL2/test_it.php",
"owner": "generated_diagnostic_collection_name#1",
"code": "P1010",
"severity": 8,
"message": "Undefined function 'strtoupper'.",
"source": "intelephense",
"startLineNumber": 4,
"startColumn": 13,
"endLineNumber": 4,
"endColumn": 23
}]
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Platform and version
OS and Intelephense version.
Windows 10,
PHP Intelephense v1.12.6
The text was updated successfully, but these errors were encountered: