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.
By clicking “Sign up for GitHub”, you agree to our
terms of service
and
privacy statement
. We’ll occasionally send you account related emails.
Already on GitHub?
Sign in
to your account
Describe the bug
Undefined type error when using built in php class Memcached.
To Reproduce
class
Foo {
public
function
__construct
() {
$
this
->
server
=
new
Memcached
;
Screenshots
Platform and version
Mac OS 10.11.6
VSCode 1.47.0
Intelephense 1.5.0
runbing, raszi, tihoho, Smekiboy, QuentiumYT, lsalomon, trueparallels, rohitq50, rnoelle, and jmsosso reacted with heart emoji
hakkikonu and ntm-dev reacted with rocket emoji
All reactions
Go to intelephense extension settings from Extensions -> intelephense
Find intelephense:Stubs section from settings.
click "Add Item" button then type "memcached"
Kwaadpepper, trueparallels, mrpatricko, akrherz, Chillifish, and neubreed reacted with thumbs up emoji
Kwaadpepper, lsalomon, and jameswilson reacted with hooray emoji
lsalomon, jameswilson, rohitq50, PeterGreshnov, and jmsosso reacted with heart emoji
All reactions