微信扫一扫

028-83195727 , 15928970361
business@forhy.com

ZendStudio redis函数自动提示

redis,redis函数提示2016-10-29

1、Open "Window" -> "Preferences"
2、In preferences dialog open "PHP" -> "PHP Libriaries"
3、Click "New" button, in "User library name" enter "Redis", click "OK"
4、Select newly created "Redis", library Click "Add external folder", select path to the folder which contains your checkout of phpredis-phpdoc or you can download single "Redis.php" file https://raw.github.com/ukko/phpredis-phpdoc/master/src/Redis.php
Include your custom library in your project: open "Project" -> "Properties" -> "PHP Include Path", click add library, select "User library", click "Next", check "Redis", click "Finish"

1、添加phplibrary


2、在自己的项目中引入library