HEX
Server: LiteSpeed
System: Linux s12787.usc1.stableserver.net 5.14.0-570.32.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Aug 6 11:30:41 EDT 2025 x86_64
User: househiv (1652)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: //proc/self/root/opt/alt/tests/alt-php84-phpiredis_1.0.1-1.el9/client_009.phpt
--TEST--
[CLIENT] Execute pipelined commands (binary safe)

--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_bs($redis, array(
    array('DEL', 'test'),
    array('SET', 'test', '1'),
    array('GET', 'test')
));

var_dump($commands[2]);

--EXPECT--
string(1) "1"