ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
## script ##### Description Execute the Redis SCRIPT command to perform various operations on the scripting subsystem. 执行Redis脚本命令来执行各种操作。 ##### Usage ``` <pre class="calibre16">$redis->script('load', $script); $redis->script('flush'); $redis->script('kill'); $redis->script('exists', $script1, [$script2, $script3, ...]); ``` ##### Return value - SCRIPT LOAD will return the SHA1 hash of the passed script on success, and FALSE on failure. - SCRIPT FLUSH should always return TRUE - SCRIPT KILL will return true if a script was able to be killed and false if not - SCRIPT EXISTS will return an array with TRUE or FALSE for each passed script ##