添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

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