@@ -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
@@ -2040,7 +2046,7 @@ static void php_memc_cas_impl(INTERNAL_FUNCTION_PARAMETERS, zend_bool by_key)
2040
2046
MEMC_METHOD_INIT_VARS ;
2041
2047
2042
2048
if (by_key ) {
2043
- /* zSSz|ll */
2049
+ /* " zSSz|ll" */
2044
2050
ZEND_PARSE_PARAMETERS_START (4 , 6 )
2045
2051
Z_PARAM_ZVAL (zv_cas )
2046
2052
Z_PARAM_STR (server_key )
@@ -2051,7 +2057,7 @@ static void php_memc_cas_impl(INTERNAL_FUNCTION_PARAMETERS, zend_bool by_key)
2051
2057
Z_PARAM_LONG (ignored )
2052
2058
ZEND_PARSE_PARAMETERS_END ();
2053
2059
} else {
2054
- /* zSz|ll */
2060
+ /* " zSz|ll" */
2055
2061
ZEND_PARSE_PARAMETERS_START (3 , 5 )
2056
2062
Z_PARAM_ZVAL (zv_cas )
2057
2063
Z_PARAM_STR (key )
@@ -2146,15 +2152,15 @@ static void php_memc_delete_impl(INTERNAL_FUNCTION_PARAMETERS, zend_bool by_key)
2146
2152
MEMC_METHOD_INIT_VARS ;
2147
2153
2148
2154
if (by_key ) {
2149
- /* SS|l */
2155
+ /* " SS|l" */
2150
2156
ZEND_PARSE_PARAMETERS_START (2 , 3 )
2151
2157
Z_PARAM_STR (server_key )
2152
2158
Z_PARAM_STR (key )
2153
2159
Z_PARAM_OPTIONAL
2154
2160
Z_PARAM_LONG (expiration )
2155
2161
ZEND_PARSE_PARAMETERS_END ();
2156
2162
} else {
2157
- /* S|l */
2163
+ /* " S|l" */
2158
2164
ZEND_PARSE_PARAMETERS_START (1 , 2 )
2159
2165
Z_PARAM_STR (key )
2160
2166
Z_PARAM_OPTIONAL
@@ -2194,15 +2200,15 @@ static void php_memc_deleteMulti_impl(INTERNAL_FUNCTION_PARAMETERS, zend_bool by
2194
2200
MEMC_METHOD_INIT_VARS ;
2195
2201
2196
2202
if (by_key ) {
2197
- /* Sa/|l */
2203
+ /* " Sa/|l" */
2198
2204
ZEND_PARSE_PARAMETERS_START (2 , 3 )
2199
2205
Z_PARAM_STR (server_key )
2200
2206
Z_PARAM_ARRAY_EX (entries , 0 , 1 )
2201
2207
Z_PARAM_OPTIONAL
2202
2208
Z_PARAM_LONG (expiration )
2203
2209
ZEND_PARSE_PARAMETERS_END ();
2204
2210
} else {
2205
- /* a/|l */
2211
+ /* " a/|l" */
2206
2212
ZEND_PARSE_PARAMETERS_START (1 , 2 )
2207
2213
Z_PARAM_ARRAY_EX (entries , 0 , 1 )
2208
2214
Z_PARAM_OPTIONAL
@@ -2255,6 +2261,7 @@ static void php_memc_incdec_impl(INTERNAL_FUNCTION_PARAMETERS, zend_bool by_key,
2255
2261
MEMC_METHOD_INIT_VARS ;
2256
2262
2257
2263
if (!by_key ) {
2264
+ /* "S|lll" */
2258
2265
ZEND_PARSE_PARAMETERS_START (1 , 4 )
2259
2266
Z_PARAM_STR (key )
2260
2267
Z_PARAM_OPTIONAL
@@ -2263,6 +2270,7 @@ static void php_memc_incdec_impl(INTERNAL_FUNCTION_PARAMETERS, zend_bool by_key,
2263
2270
Z_PARAM_LONG (expiry )
2264
2271
ZEND_PARSE_PARAMETERS_END ();
2265
2272
} else {
2273
+ /* "SS|lll" */
2266
2274
ZEND_PARSE_PARAMETERS_START (2 , 5 )
2267
2275
Z_PARAM_STR (server_key )
2268
2276
Z_PARAM_STR (key )
@@ -2381,7 +2389,7 @@ PHP_METHOD(Memcached, addServer)
2381
2389
memcached_return status ;
2382
2390
MEMC_METHOD_INIT_VARS ;
2383
2391
2384
- /* Sa/|l */
2392
+ /* " Sa/|l" */
2385
2393
ZEND_PARSE_PARAMETERS_START (2 , 3 )
2386
2394
Z_PARAM_STR (host )
2387
2395
Z_PARAM_LONG (port )
@@ -2415,7 +2423,7 @@ PHP_METHOD(Memcached, addServers)
2415
2423
memcached_return status ;
2416
2424
MEMC_METHOD_INIT_VARS ;
2417
2425
2418
- /* a/ */
2426
+ /* "a/" */
2419
2427
ZEND_PARSE_PARAMETERS_START (1 , 1 )
2420
2428
Z_PARAM_ARRAY_EX (servers , 0 , 1 )
2421
2429
ZEND_PARSE_PARAMETERS_END ();
@@ -2520,7 +2528,7 @@ PHP_METHOD(Memcached, getServerByKey)
2520
2528
memcached_return error ;
2521
2529
MEMC_METHOD_INIT_VARS ;
2522
2530
2523
- /* S */
2531
+ /* "S" */
2524
2532
ZEND_PARSE_PARAMETERS_START (1 , 1 )
2525
2533
Z_PARAM_STR (server_key )
2526
2534
ZEND_PARSE_PARAMETERS_END ();
@@ -2741,7 +2749,7 @@ PHP_METHOD(Memcached, getStats)
2741
2749
zend_string * args_string = NULL ;
2742
2750
MEMC_METHOD_INIT_VARS ;
2743
2751
2744
- /* |S! */
2752
+ /* " |S!" */
2745
2753
ZEND_PARSE_PARAMETERS_START (0 , 1 )
2746
2754
Z_PARAM_OPTIONAL
2747
2755
Z_PARAM_STR_EX (args_string , 1 , 0 )
@@ -2841,7 +2849,7 @@ static PHP_METHOD(Memcached, flush)
2841
2849
memcached_return status ;
2842
2850
MEMC_METHOD_INIT_VARS ;
2843
2851
2844
- /* |l */
2852
+ /* "|l" */
2845
2853
ZEND_PARSE_PARAMETERS_START (0 , 1 )
2846
2854
Z_PARAM_OPTIONAL
2847
2855
Z_PARAM_LONG (delay )
@@ -2868,7 +2876,7 @@ static PHP_METHOD(Memcached, getOption)
2868
2876
memcached_behavior flag ;
2869
2877
MEMC_METHOD_INIT_VARS ;
2870
2878
2871
- /* l */
2879
+ /* "l" */
2872
2880
ZEND_PARSE_PARAMETERS_START (1 , 1 )
2873
2881
Z_PARAM_LONG (option )
2874
2882
ZEND_PARSE_PARAMETERS_END ();
@@ -3121,7 +3129,7 @@ PHP_METHOD(Memcached, setBucket)
3121
3129
memcached_return rc ;
3122
3130
MEMC_METHOD_INIT_VARS ;
3123
3131
3124
- /* aa!l */
3132
+ /* " aa!l" */
3125
3133
ZEND_PARSE_PARAMETERS_START (3 , 3 )
3126
3134
Z_PARAM_ARRAY (zserver_map )
3127
3135
Z_PARAM_ARRAY_EX (zforward_map , 1 , 0 )
@@ -3187,7 +3195,7 @@ static PHP_METHOD(Memcached, setOptions)
3187
3195
3188
3196
MEMC_METHOD_INIT_VARS ;
3189
3197
3190
- /* a */
3198
+ /* "a" */
3191
3199
ZEND_PARSE_PARAMETERS_START (1 , 1 )
3192
3200
Z_PARAM_ARRAY (options )
3193
3201
ZEND_PARSE_PARAMETERS_END ();
@@ -3218,7 +3226,7 @@ static PHP_METHOD(Memcached, setOption)
3218
3226
zval * value ;
3219
3227
MEMC_METHOD_INIT_VARS ;
3220
3228
3221
- /* lz/ */
3229
+ /* " lz/" */
3222
3230
ZEND_PARSE_PARAMETERS_START (2 , 2 )
3223
3231
Z_PARAM_LONG (option )
3224
3232
Z_PARAM_ZVAL_EX (value , 0 , 1 )
@@ -3239,7 +3247,7 @@ static PHP_METHOD(Memcached, setSaslAuthData)
3239
3247
memcached_return status ;
3240
3248
zend_string * user , * pass ;
3241
3249
3242
- /* SS/ */
3250
+ /* " SS/" */
3243
3251
ZEND_PARSE_PARAMETERS_START (2 , 2 )
3244
3252
Z_PARAM_STR (user )
3245
3253
Z_PARAM_STR (pass )
@@ -3725,7 +3733,7 @@ PHP_METHOD(MemcachedServer, run)
3725
3733
php_memc_server_t * intern ;
3726
3734
intern = Z_MEMC_SERVER_P (getThis ());
3727
3735
3728
- /* S */
3736
+ /* "S" */
3729
3737
ZEND_PARSE_PARAMETERS_START (1 , 1 )
3730
3738
Z_PARAM_STR (address )
3731
3739
ZEND_PARSE_PARAMETERS_END ();
@@ -3747,7 +3755,7 @@ PHP_METHOD(MemcachedServer, on)
3747
3755
zend_fcall_info_cache fci_cache ;
3748
3756
zend_bool rc = 0 ;
3749
3757
3750
- /* lf! */
3758
+ /* " lf!" */
3751
3759
ZEND_PARSE_PARAMETERS_START (2 , 2 )
3752
3760
Z_PARAM_LONG (event )
3753
3761
Z_PARAM_FUNC_EX (fci , fci_cache , 1 , 0 )
0 commit comments