11/* This is a generated file, edit the .stub.php file instead.
2- * Stub hash: db05ec768efb80715ac68fe0a1ab65d37de1d390 */
2+ * Stub hash: b1d3eb09f86ccffaa4cf0cc6885550e7d4b6da04 */
33
44ZEND_BEGIN_ARG_INFO_EX (arginfo_class_RedisCluster___construct , 0 , 0 , 1 )
55 ZEND_ARG_TYPE_INFO (0 , name , IS_STRING , 1 )
@@ -44,6 +44,11 @@ ZEND_END_ARG_INFO()
4444ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX (arginfo_class_RedisCluster_flushSlotCache , 0 , 0 , _IS_BOOL , 0 )
4545ZEND_END_ARG_INFO ()
4646
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+
4752ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX (arginfo_class_RedisCluster_acl , 0 , 2 , IS_MIXED , 0 )
4853 ZEND_ARG_TYPE_MASK (0 , key_or_address , MAY_BE_STRING |MAY_BE_ARRAY , NULL )
4954 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,
10641069 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE (0 , options , IS_ARRAY , 1 , "null" )
10651070ZEND_END_ARG_INFO ()
10661071
1067-
10681072ZEND_METHOD (RedisCluster , __construct );
10691073ZEND_METHOD (RedisCluster , _compress );
10701074ZEND_METHOD (RedisCluster , _uncompress );
@@ -1076,6 +1080,9 @@ ZEND_METHOD(RedisCluster, _prefix);
10761080ZEND_METHOD (RedisCluster , _masters );
10771081ZEND_METHOD (RedisCluster , _redir );
10781082ZEND_METHOD (RedisCluster , flushSlotCache );
1083+ #if defined(HAVE_REDIS_ATOMICS_MMAP )
1084+ ZEND_METHOD (RedisCluster , invalidateSlotCaches );
1085+ #endif
10791086ZEND_METHOD (RedisCluster , acl );
10801087ZEND_METHOD (RedisCluster , append );
10811088ZEND_METHOD (RedisCluster , bgrewriteaof );
@@ -1295,7 +1302,6 @@ ZEND_METHOD(RedisCluster, zdiffstore);
12951302ZEND_METHOD (RedisCluster , zunion );
12961303ZEND_METHOD (RedisCluster , zdiff );
12971304
1298-
12991305static const zend_function_entry class_RedisCluster_methods [] = {
13001306 ZEND_ME (RedisCluster , __construct , arginfo_class_RedisCluster___construct , ZEND_ACC_PUBLIC )
13011307 ZEND_ME (RedisCluster , _compress , arginfo_class_RedisCluster__compress , ZEND_ACC_PUBLIC )
@@ -1308,6 +1314,9 @@ static const zend_function_entry class_RedisCluster_methods[] = {
13081314 ZEND_ME (RedisCluster , _masters , arginfo_class_RedisCluster__masters , ZEND_ACC_PUBLIC )
13091315 ZEND_ME (RedisCluster , _redir , arginfo_class_RedisCluster__redir , ZEND_ACC_PUBLIC )
13101316 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
13111320 ZEND_ME (RedisCluster , acl , arginfo_class_RedisCluster_acl , ZEND_ACC_PUBLIC )
13121321 ZEND_ME (RedisCluster , append , arginfo_class_RedisCluster_append , ZEND_ACC_PUBLIC )
13131322 ZEND_ME (RedisCluster , bgrewriteaof , arginfo_class_RedisCluster_bgrewriteaof , ZEND_ACC_PUBLIC )
@@ -1529,17 +1538,16 @@ static const zend_function_entry class_RedisCluster_methods[] = {
15291538 ZEND_FE_END
15301539};
15311540
1532-
1533- static const zend_function_entry class_RedisClusterException_methods [] = {
1534- ZEND_FE_END
1535- };
1536-
15371541static zend_class_entry * register_class_RedisCluster (void )
15381542{
15391543 zend_class_entry ce , * class_entry ;
15401544
15411545 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
15421549 class_entry = zend_register_internal_class_ex (& ce , NULL );
1550+ #endif
15431551
15441552 zval const_OPT_SLAVE_FAILOVER_value ;
15451553 ZVAL_LONG (& const_OPT_SLAVE_FAILOVER_value , REDIS_OPT_FAILOVER );
@@ -1570,13 +1578,11 @@ static zend_class_entry *register_class_RedisCluster(void)
15701578 zend_string * const_FAILOVER_DISTRIBUTE_SLAVES_name = zend_string_init_interned ("FAILOVER_DISTRIBUTE_SLAVES" , sizeof ("FAILOVER_DISTRIBUTE_SLAVES" ) - 1 , 1 );
15711579 zend_declare_class_constant_ex (class_entry , const_FAILOVER_DISTRIBUTE_SLAVES_name , & const_FAILOVER_DISTRIBUTE_SLAVES_value , ZEND_ACC_PUBLIC , NULL );
15721580 zend_string_release (const_FAILOVER_DISTRIBUTE_SLAVES_name );
1573- #if (PHP_VERSION_ID >= 80000 )
15741581
15751582
15761583 zend_string * attribute_name_SensitiveParameter_func___construct_arg5_0 = zend_string_init_interned ("SensitiveParameter" , sizeof ("SensitiveParameter" ) - 1 , 1 );
15771584 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 );
15781585 zend_string_release (attribute_name_SensitiveParameter_func___construct_arg5_0 );
1579- #endif
15801586
15811587 return class_entry ;
15821588}
@@ -1585,8 +1591,12 @@ static zend_class_entry *register_class_RedisClusterException(zend_class_entry *
15851591{
15861592 zend_class_entry ce , * class_entry ;
15871593
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
15891598 class_entry = zend_register_internal_class_ex (& ce , class_entry_RuntimeException );
1599+ #endif
15901600
15911601 return class_entry ;
15921602}
0 commit comments