Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Incorrect key mangling #2731

Copy link
Copy link

Description

@rlerdorf
Issue body actions

Keys that start with digits are being cast to int because of:
https://github.com/phpredis/phpredis/blob/develop/redis_commands.c#L2689-L2695

You are calling is_numeric_string() with allow_errors = 1 which means it will take a hash key like
"86deaeb05e3f7760b67e92897a1325e0fdd8618d" and return IS_LONG with lval = 86.

I'm assuming that was not your intent.

Reactions are currently unavailable

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

Morty Proxy This is a proxified and sanitized view of the page, visit original site.