Closed fep-coder closed 4 days ago
Describe the bug I get a warning for preg_replace- undefined function preg_replace
preg_replace
undefined function preg_replace
In the settings I have:
"intelephense.stubs": ["wordpress", "Core", "standard"],
Not that it matters but it's a wordpress plugin file I am working on.
Expected behavior I shouldn't see an error for built in PHP functions.
Platform and version Windows 10 OS and Intelephense version 1.10.4
You'll need to have pcre in the stubs list.
pcre
Describe the bug I get a warning for
preg_replace
-undefined function preg_replace
In the settings I have:
"intelephense.stubs": ["wordpress", "Core", "standard"],
Not that it matters but it's a wordpress plugin file I am working on.
Expected behavior I shouldn't see an error for built in PHP functions.
Platform and version Windows 10 OS and Intelephense version 1.10.4