Skip to content

Commit 115220e

Browse files
Remove apparently unneeded version check
1 parent 7aa70f5 commit 115220e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

library.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1328,11 +1328,7 @@ redis_serialize(RedisSock *redis_sock, zval *z, char **val, int *val_len TSRMLS_
13281328
return 0;
13291329
case REDIS_SERIALIZER_JSON:
13301330
#ifdef HAVE_JSON
1331-
#if PHP_VERSION_ID >= 50399
13321331
php_json_encode(&sstr, z, 0 TSRMLS_CC);
1333-
#else
1334-
php_json_encode(&sstr, z, TSRMLS_CC);
1335-
#endif
13361332

13371333
// Return our value and length
13381334
*val = sstr.c;

0 commit comments

Comments
 (0)