@@ -1174,7 +1174,7 @@ static PHP_METHOD(Memcached, __construct)
1174
1174
1175
1175
zend_bool is_persistent = 0 ;
1176
1176
1177
- /* |S!f!S */
1177
+ /* " |S!f!S" */
1178
1178
ZEND_PARSE_PARAMETERS_START (0 , 3 )
1179
1179
Z_PARAM_OPTIONAL
1180
1180
Z_PARAM_STR_EX (persistent_id , 1 , 0 )
@@ -1407,7 +1407,7 @@ void php_memc_get_impl(INTERNAL_FUNCTION_PARAMETERS, zend_bool by_key)
1407
1407
MEMC_METHOD_INIT_VARS ;
1408
1408
1409
1409
if (by_key ) {
1410
- /* SS|f!l */
1410
+ /* " SS|f!l" */
1411
1411
ZEND_PARSE_PARAMETERS_START (2 , 4 )
1412
1412
Z_PARAM_STR (server_key )
1413
1413
Z_PARAM_STR (key )
@@ -1416,7 +1416,7 @@ void php_memc_get_impl(INTERNAL_FUNCTION_PARAMETERS, zend_bool by_key)
1416
1416
Z_PARAM_LONG (get_flags )
1417
1417
ZEND_PARSE_PARAMETERS_END ();
1418
1418
} else {
1419
- /* S|f!l */
1419
+ /* " S|f!l" */
1420
1420
ZEND_PARSE_PARAMETERS_START (1 , 3 )
1421
1421
Z_PARAM_STR (key )
1422
1422
Z_PARAM_OPTIONAL
@@ -1508,13 +1508,15 @@ static void php_memc_getMulti_impl(INTERNAL_FUNCTION_PARAMETERS, zend_bool by_ke
1508
1508
zend_bool retval , preserve_order ;
1509
1509
1510
1510
if (by_key ) {
1511
+ /* "Sa|l" */
1511
1512
ZEND_PARSE_PARAMETERS_START (2 , 3 )
1512
1513
Z_PARAM_STR (server_key )
1513
1514
Z_PARAM_ARRAY (keys )
1514
1515
Z_PARAM_OPTIONAL
1515
1516
Z_PARAM_LONG (flags )
1516
1517
ZEND_PARSE_PARAMETERS_END ();
1517
1518
} else {
1519
+ /* "a|l" */
1518
1520
ZEND_PARSE_PARAMETERS_START (1 , 2 )
1519
1521
Z_PARAM_ARRAY (keys )
1520
1522
Z_PARAM_OPTIONAL
@@ -1649,16 +1651,18 @@ static void php_memc_getDelayed_impl(INTERNAL_FUNCTION_PARAMETERS, zend_bool by_
1649
1651
1650
1652
1651
1653
if (by_key ) {
1654
+ /* "Sa/|bf!" */
1652
1655
ZEND_PARSE_PARAMETERS_START (2 , 4 )
1653
1656
Z_PARAM_STR (server_key )
1654
- Z_PARAM_ARRAY (keys )
1657
+ Z_PARAM_ARRAY_EX (keys , 0 , 1 )
1655
1658
Z_PARAM_OPTIONAL
1656
1659
Z_PARAM_BOOL (with_cas )
1657
1660
Z_PARAM_FUNC_EX (fci , fcc , 1 , 0 )
1658
1661
ZEND_PARSE_PARAMETERS_END ();
1659
1662
} else {
1663
+ /* "a/|bf!" */
1660
1664
ZEND_PARSE_PARAMETERS_START (1 , 3 )
1661
- Z_PARAM_ARRAY (keys )
1665
+ Z_PARAM_ARRAY_EX (keys , 0 , 1 )
1662
1666
Z_PARAM_OPTIONAL
1663
1667
Z_PARAM_BOOL (with_cas )
1664
1668
Z_PARAM_FUNC_EX (fci , fcc , 1 , 0 )
@@ -1816,6 +1820,7 @@ static void php_memc_setMulti_impl(INTERNAL_FUNCTION_PARAMETERS, zend_bool by_ke
1816
1820
MEMC_METHOD_INIT_VARS ;
1817
1821
1818
1822
if (by_key ) {
1823
+ /* "Sa|ll" */
1819
1824
ZEND_PARSE_PARAMETERS_START (2 , 4 )
1820
1825
Z_PARAM_STR (server_key )
1821
1826
Z_PARAM_ARRAY (entries )
@@ -1824,6 +1829,7 @@ static void php_memc_setMulti_impl(INTERNAL_FUNCTION_PARAMETERS, zend_bool by_ke
1824
1829
Z_PARAM_LONG (ignored )
1825
1830
ZEND_PARSE_PARAMETERS_END ();
1826
1831
} else {
1832
+ /* "a|ll" */
1827
1833
ZEND_PARSE_PARAMETERS_START (1 , 3 )
1828
1834
Z_PARAM_ARRAY (entries )
1829
1835
Z_PARAM_OPTIONAL
@@ -2031,7 +2037,7 @@ static void php_memc_cas_impl(INTERNAL_FUNCTION_PARAMETERS, zend_bool by_key)
2031
2037
MEMC_METHOD_INIT_VARS ;
2032
2038
2033
2039
if (by_key ) {
2034
- /* zSSz|ll */
2040
+ /* " zSSz|ll" */
2035
2041
ZEND_PARSE_PARAMETERS_START (4 , 6 )
2036
2042
Z_PARAM_ZVAL (zv_cas )
2037
2043
Z_PARAM_STR (server_key )
@@ -2042,7 +2048,7 @@ static void php_memc_cas_impl(INTERNAL_FUNCTION_PARAMETERS, zend_bool by_key)
2042
2048
Z_PARAM_LONG (ignored )
2043
2049
ZEND_PARSE_PARAMETERS_END ();
2044
2050
} else {
2045
- /* zSz|ll */
2051
+ /* " zSz|ll" */
2046
2052
ZEND_PARSE_PARAMETERS_START (3 , 5 )
2047
2053
Z_PARAM_ZVAL (zv_cas )
2048
2054
Z_PARAM_STR (key )
@@ -2137,15 +2143,15 @@ static void php_memc_delete_impl(INTERNAL_FUNCTION_PARAMETERS, zend_bool by_key)
2137
2143
MEMC_METHOD_INIT_VARS ;
2138
2144
2139
2145
if (by_key ) {
2140
- /* SS|l */
2146
+ /* " SS|l" */
2141
2147
ZEND_PARSE_PARAMETERS_START (2 , 3 )
2142
2148
Z_PARAM_STR (server_key )
2143
2149
Z_PARAM_STR (key )
2144
2150
Z_PARAM_OPTIONAL
2145
2151
Z_PARAM_LONG (expiration )
2146
2152
ZEND_PARSE_PARAMETERS_END ();
2147
2153
} else {
2148
- /* S|l */
2154
+ /* " S|l" */
2149
2155
ZEND_PARSE_PARAMETERS_START (1 , 2 )
2150
2156
Z_PARAM_STR (key )
2151
2157
Z_PARAM_OPTIONAL
@@ -2185,15 +2191,15 @@ static void php_memc_deleteMulti_impl(INTERNAL_FUNCTION_PARAMETERS, zend_bool by
2185
2191
MEMC_METHOD_INIT_VARS ;
2186
2192
2187
2193
if (by_key ) {
2188
- /* Sa/|l */
2194
+ /* " Sa/|l" */
2189
2195
ZEND_PARSE_PARAMETERS_START (2 , 3 )
2190
2196
Z_PARAM_STR (server_key )
2191
2197
Z_PARAM_ARRAY_EX (entries , 0 , 1 )
2192
2198
Z_PARAM_OPTIONAL
2193
2199
Z_PARAM_LONG (expiration )
2194
2200
ZEND_PARSE_PARAMETERS_END ();
2195
2201
} else {
2196
- /* a/|l */
2202
+ /* " a/|l" */
2197
2203
ZEND_PARSE_PARAMETERS_START (1 , 2 )
2198
2204
Z_PARAM_ARRAY_EX (entries , 0 , 1 )
2199
2205
Z_PARAM_OPTIONAL
@@ -2246,6 +2252,7 @@ static void php_memc_incdec_impl(INTERNAL_FUNCTION_PARAMETERS, zend_bool by_key,
2246
2252
MEMC_METHOD_INIT_VARS ;
2247
2253
2248
2254
if (!by_key ) {
2255
+ /* "S|lll" */
2249
2256
ZEND_PARSE_PARAMETERS_START (1 , 4 )
2250
2257
Z_PARAM_STR (key )
2251
2258
Z_PARAM_OPTIONAL
@@ -2254,6 +2261,7 @@ static void php_memc_incdec_impl(INTERNAL_FUNCTION_PARAMETERS, zend_bool by_key,
2254
2261
Z_PARAM_LONG (expiry )
2255
2262
ZEND_PARSE_PARAMETERS_END ();
2256
2263
} else {
2264
+ /* "SS|lll" */
2257
2265
ZEND_PARSE_PARAMETERS_START (2 , 5 )
2258
2266
Z_PARAM_STR (server_key )
2259
2267
Z_PARAM_STR (key )
@@ -2372,7 +2380,7 @@ PHP_METHOD(Memcached, addServer)
2372
2380
memcached_return status ;
2373
2381
MEMC_METHOD_INIT_VARS ;
2374
2382
2375
- /* Sa/|l */
2383
+ /* " Sa/|l" */
2376
2384
ZEND_PARSE_PARAMETERS_START (2 , 3 )
2377
2385
Z_PARAM_STR (host )
2378
2386
Z_PARAM_LONG (port )
@@ -2406,7 +2414,7 @@ PHP_METHOD(Memcached, addServers)
2406
2414
memcached_return status ;
2407
2415
MEMC_METHOD_INIT_VARS ;
2408
2416
2409
- /* a/ */
2417
+ /* "a/" */
2410
2418
ZEND_PARSE_PARAMETERS_START (1 , 1 )
2411
2419
Z_PARAM_ARRAY_EX (servers , 0 , 1 )
2412
2420
ZEND_PARSE_PARAMETERS_END ();
@@ -2511,7 +2519,7 @@ PHP_METHOD(Memcached, getServerByKey)
2511
2519
memcached_return error ;
2512
2520
MEMC_METHOD_INIT_VARS ;
2513
2521
2514
- /* S */
2522
+ /* "S" */
2515
2523
ZEND_PARSE_PARAMETERS_START (1 , 1 )
2516
2524
Z_PARAM_STR (server_key )
2517
2525
ZEND_PARSE_PARAMETERS_END ();
@@ -2732,7 +2740,7 @@ PHP_METHOD(Memcached, getStats)
2732
2740
zend_string * args_string = NULL ;
2733
2741
MEMC_METHOD_INIT_VARS ;
2734
2742
2735
- /* |S! */
2743
+ /* " |S!" */
2736
2744
ZEND_PARSE_PARAMETERS_START (0 , 1 )
2737
2745
Z_PARAM_OPTIONAL
2738
2746
Z_PARAM_STR_EX (args_string , 1 , 0 )
@@ -2832,7 +2840,7 @@ static PHP_METHOD(Memcached, flush)
2832
2840
memcached_return status ;
2833
2841
MEMC_METHOD_INIT_VARS ;
2834
2842
2835
- /* |l */
2843
+ /* "|l" */
2836
2844
ZEND_PARSE_PARAMETERS_START (0 , 1 )
2837
2845
Z_PARAM_OPTIONAL
2838
2846
Z_PARAM_LONG (delay )
@@ -2859,7 +2867,7 @@ static PHP_METHOD(Memcached, getOption)
2859
2867
memcached_behavior flag ;
2860
2868
MEMC_METHOD_INIT_VARS ;
2861
2869
2862
- /* l */
2870
+ /* "l" */
2863
2871
ZEND_PARSE_PARAMETERS_START (1 , 1 )
2864
2872
Z_PARAM_LONG (option )
2865
2873
ZEND_PARSE_PARAMETERS_END ();
@@ -3112,7 +3120,7 @@ PHP_METHOD(Memcached, setBucket)
3112
3120
memcached_return rc ;
3113
3121
MEMC_METHOD_INIT_VARS ;
3114
3122
3115
- /* aa!l */
3123
+ /* " aa!l" */
3116
3124
ZEND_PARSE_PARAMETERS_START (3 , 3 )
3117
3125
Z_PARAM_ARRAY (zserver_map )
3118
3126
Z_PARAM_ARRAY_EX (zforward_map , 1 , 0 )
@@ -3178,7 +3186,7 @@ static PHP_METHOD(Memcached, setOptions)
3178
3186
3179
3187
MEMC_METHOD_INIT_VARS ;
3180
3188
3181
- /* a */
3189
+ /* "a" */
3182
3190
ZEND_PARSE_PARAMETERS_START (1 , 1 )
3183
3191
Z_PARAM_ARRAY (options )
3184
3192
ZEND_PARSE_PARAMETERS_END ();
@@ -3209,7 +3217,7 @@ static PHP_METHOD(Memcached, setOption)
3209
3217
zval * value ;
3210
3218
MEMC_METHOD_INIT_VARS ;
3211
3219
3212
- /* lz/ */
3220
+ /* " lz/" */
3213
3221
ZEND_PARSE_PARAMETERS_START (2 , 2 )
3214
3222
Z_PARAM_LONG (option )
3215
3223
Z_PARAM_ZVAL_EX (value , 0 , 1 )
@@ -3230,7 +3238,7 @@ static PHP_METHOD(Memcached, setSaslAuthData)
3230
3238
memcached_return status ;
3231
3239
zend_string * user , * pass ;
3232
3240
3233
- /* SS/ */
3241
+ /* " SS/" */
3234
3242
ZEND_PARSE_PARAMETERS_START (2 , 2 )
3235
3243
Z_PARAM_STR (user )
3236
3244
Z_PARAM_STR (pass )
@@ -3716,7 +3724,7 @@ PHP_METHOD(MemcachedServer, run)
3716
3724
php_memc_server_t * intern ;
3717
3725
intern = Z_MEMC_SERVER_P (getThis ());
3718
3726
3719
- /* S */
3727
+ /* "S" */
3720
3728
ZEND_PARSE_PARAMETERS_START (1 , 1 )
3721
3729
Z_PARAM_STR (address )
3722
3730
ZEND_PARSE_PARAMETERS_END ();
@@ -3738,7 +3746,7 @@ PHP_METHOD(MemcachedServer, on)
3738
3746
zend_fcall_info_cache fci_cache ;
3739
3747
zend_bool rc = 0 ;
3740
3748
3741
- /* lf! */
3749
+ /* " lf!" */
3742
3750
ZEND_PARSE_PARAMETERS_START (2 , 2 )
3743
3751
Z_PARAM_LONG (event )
3744
3752
Z_PARAM_FUNC_EX (fci , fci_cache , 1 , 0 )
0 commit comments