final class PhpRedis

Constants

private NULL_INITIAL_CURSOR_VERSION

Methods

static bool
usesNullInitialScanCursor()

Determine if phpredis uses null as the initial SCAN-family cursor.

static int|null
initialScanCursor()

Get the initial cursor value for SCAN-family operations.

static string
version()

Get the installed phpredis extension version.

Details

at line 14
static bool usesNullInitialScanCursor()

Determine if phpredis uses null as the initial SCAN-family cursor.

Return Value

bool

at line 26
static int|null initialScanCursor()

Get the initial cursor value for SCAN-family operations.

phpredis >= 6.1.0 expects null for the initial cursor; older versions use 0.

Return Value

int|null

See also

https://github.com/laravel/framework/issues/53082

at line 34
static string version()

Get the installed phpredis extension version.

Return Value

string