HEX
Server: LiteSpeed
System: Linux cpir1.prohostdns.com 4.18.0-553.123.2.lve.el8.x86_64 #1 SMP Thu May 7 23:17:13 UTC 2026 x86_64
User: pelakir (2976)
PHP: 8.2.31
Disabled: exec, shell_exec, system, passthru, proc_open, proc_close, proc_terminate, proc_get_status, popen, pclose, pcntl_exec
Upload Files
File: //opt/alt/tests/alt-php80-phpiredis_1.0.1-1.el8/client_005.phpt
--TEST--
[CLIENT] Execute pipelined commands
--SKIPIF--
<?php
require_once 'testsuite_skipif.inc';
?>
--FILE--
<?php
require_once 'testsuite_utilities.inc';

$redis = create_phpiredis_connection(REDIS_HOST, REDIS_PORT);

$commands = phpiredis_multi_command($redis, array(
    'DEL test',
    'SET test 1',
    'GET test'
));

var_dump($commands[2]);
?>
--EXPECT--
string(1) "1"