1
1
/* This is a generated file, edit the .stub.php file instead.
2
- * Stub hash: db05ec768efb80715ac68fe0a1ab65d37de1d390 */
2
+ * Stub hash: b1d3eb09f86ccffaa4cf0cc6885550e7d4b6da04 */
3
3
4
4
ZEND_BEGIN_ARG_INFO_EX (arginfo_class_RedisCluster___construct , 0 , 0 , 1 )
5
5
ZEND_ARG_TYPE_INFO (0 , name , IS_STRING , 1 )
@@ -44,6 +44,11 @@ ZEND_END_ARG_INFO()
44
44
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX (arginfo_class_RedisCluster_flushSlotCache , 0 , 0 , _IS_BOOL , 0 )
45
45
ZEND_END_ARG_INFO ()
46
46
47
+ #if defined(HAVE_REDIS_ATOMICS_MMAP )
48
+ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX (arginfo_class_RedisCluster_invalidateSlotCaches , 0 , 0 , _IS_BOOL , 0 )
49
+ ZEND_END_ARG_INFO ()
50
+ #endif
51
+
47
52
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX (arginfo_class_RedisCluster_acl , 0 , 2 , IS_MIXED , 0 )
48
53
ZEND_ARG_TYPE_MASK (0 , key_or_address , MAY_BE_STRING |MAY_BE_ARRAY , NULL )
49
54
ZEND_ARG_TYPE_INFO (0 , subcmd , IS_STRING , 0 )
@@ -1064,7 +1069,6 @@ ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_class_RedisCluster_zdiff, 0,
1064
1069
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE (0 , options , IS_ARRAY , 1 , "null" )
1065
1070
ZEND_END_ARG_INFO ()
1066
1071
1067
-
1068
1072
ZEND_METHOD (RedisCluster , __construct );
1069
1073
ZEND_METHOD (RedisCluster , _compress );
1070
1074
ZEND_METHOD (RedisCluster , _uncompress );
@@ -1076,6 +1080,9 @@ ZEND_METHOD(RedisCluster, _prefix);
1076
1080
ZEND_METHOD (RedisCluster , _masters );
1077
1081
ZEND_METHOD (RedisCluster , _redir );
1078
1082
ZEND_METHOD (RedisCluster , flushSlotCache );
1083
+ #if defined(HAVE_REDIS_ATOMICS_MMAP )
1084
+ ZEND_METHOD (RedisCluster , invalidateSlotCaches );
1085
+ #endif
1079
1086
ZEND_METHOD (RedisCluster , acl );
1080
1087
ZEND_METHOD (RedisCluster , append );
1081
1088
ZEND_METHOD (RedisCluster , bgrewriteaof );
@@ -1295,7 +1302,6 @@ ZEND_METHOD(RedisCluster, zdiffstore);
1295
1302
ZEND_METHOD (RedisCluster , zunion );
1296
1303
ZEND_METHOD (RedisCluster , zdiff );
1297
1304
1298
-
1299
1305
static const zend_function_entry class_RedisCluster_methods [] = {
1300
1306
ZEND_ME (RedisCluster , __construct , arginfo_class_RedisCluster___construct , ZEND_ACC_PUBLIC )
1301
1307
ZEND_ME (RedisCluster , _compress , arginfo_class_RedisCluster__compress , ZEND_ACC_PUBLIC )
@@ -1308,6 +1314,9 @@ static const zend_function_entry class_RedisCluster_methods[] = {
1308
1314
ZEND_ME (RedisCluster , _masters , arginfo_class_RedisCluster__masters , ZEND_ACC_PUBLIC )
1309
1315
ZEND_ME (RedisCluster , _redir , arginfo_class_RedisCluster__redir , ZEND_ACC_PUBLIC )
1310
1316
ZEND_ME (RedisCluster , flushSlotCache , arginfo_class_RedisCluster_flushSlotCache , ZEND_ACC_PUBLIC )
1317
+ #if defined(HAVE_REDIS_ATOMICS_MMAP )
1318
+ ZEND_ME (RedisCluster , invalidateSlotCaches , arginfo_class_RedisCluster_invalidateSlotCaches , ZEND_ACC_PUBLIC |ZEND_ACC_STATIC )
1319
+ #endif
1311
1320
ZEND_ME (RedisCluster , acl , arginfo_class_RedisCluster_acl , ZEND_ACC_PUBLIC )
1312
1321
ZEND_ME (RedisCluster , append , arginfo_class_RedisCluster_append , ZEND_ACC_PUBLIC )
1313
1322
ZEND_ME (RedisCluster , bgrewriteaof , arginfo_class_RedisCluster_bgrewriteaof , ZEND_ACC_PUBLIC )
@@ -1529,17 +1538,16 @@ static const zend_function_entry class_RedisCluster_methods[] = {
1529
1538
ZEND_FE_END
1530
1539
};
1531
1540
1532
-
1533
- static const zend_function_entry class_RedisClusterException_methods [] = {
1534
- ZEND_FE_END
1535
- };
1536
-
1537
1541
static zend_class_entry * register_class_RedisCluster (void )
1538
1542
{
1539
1543
zend_class_entry ce , * class_entry ;
1540
1544
1541
1545
INIT_CLASS_ENTRY (ce , "RedisCluster" , class_RedisCluster_methods );
1546
+ #if (PHP_VERSION_ID >= 80400 )
1547
+ class_entry = zend_register_internal_class_with_flags (& ce , NULL , 0 );
1548
+ #else
1542
1549
class_entry = zend_register_internal_class_ex (& ce , NULL );
1550
+ #endif
1543
1551
1544
1552
zval const_OPT_SLAVE_FAILOVER_value ;
1545
1553
ZVAL_LONG (& const_OPT_SLAVE_FAILOVER_value , REDIS_OPT_FAILOVER );
@@ -1570,13 +1578,11 @@ static zend_class_entry *register_class_RedisCluster(void)
1570
1578
zend_string * const_FAILOVER_DISTRIBUTE_SLAVES_name = zend_string_init_interned ("FAILOVER_DISTRIBUTE_SLAVES" , sizeof ("FAILOVER_DISTRIBUTE_SLAVES" ) - 1 , 1 );
1571
1579
zend_declare_class_constant_ex (class_entry , const_FAILOVER_DISTRIBUTE_SLAVES_name , & const_FAILOVER_DISTRIBUTE_SLAVES_value , ZEND_ACC_PUBLIC , NULL );
1572
1580
zend_string_release (const_FAILOVER_DISTRIBUTE_SLAVES_name );
1573
- #if (PHP_VERSION_ID >= 80000 )
1574
1581
1575
1582
1576
1583
zend_string * attribute_name_SensitiveParameter_func___construct_arg5_0 = zend_string_init_interned ("SensitiveParameter" , sizeof ("SensitiveParameter" ) - 1 , 1 );
1577
1584
zend_add_parameter_attribute (zend_hash_str_find_ptr (& class_entry -> function_table , "__construct" , sizeof ("__construct" ) - 1 ), 5 , attribute_name_SensitiveParameter_func___construct_arg5_0 , 0 );
1578
1585
zend_string_release (attribute_name_SensitiveParameter_func___construct_arg5_0 );
1579
- #endif
1580
1586
1581
1587
return class_entry ;
1582
1588
}
@@ -1585,8 +1591,12 @@ static zend_class_entry *register_class_RedisClusterException(zend_class_entry *
1585
1591
{
1586
1592
zend_class_entry ce , * class_entry ;
1587
1593
1588
- INIT_CLASS_ENTRY (ce , "RedisClusterException" , class_RedisClusterException_methods );
1594
+ INIT_CLASS_ENTRY (ce , "RedisClusterException" , NULL );
1595
+ #if (PHP_VERSION_ID >= 80400 )
1596
+ class_entry = zend_register_internal_class_with_flags (& ce , class_entry_RuntimeException , 0 );
1597
+ #else
1589
1598
class_entry = zend_register_internal_class_ex (& ce , class_entry_RuntimeException );
1599
+ #endif
1590
1600
1591
1601
return class_entry ;
1592
1602
}
0 commit comments