@@ -1190,7 +1190,7 @@ static PHP_METHOD(Memcached, __construct)
1190
1190
1191
1191
zend_bool is_persistent = 0 ;
1192
1192
1193
- /* |S!f!S */
1193
+ /* " |S!f!S" */
1194
1194
ZEND_PARSE_PARAMETERS_START (0 , 3 )
1195
1195
Z_PARAM_OPTIONAL
1196
1196
Z_PARAM_STR_EX (persistent_id , 1 , 0 )
@@ -1423,7 +1423,7 @@ void php_memc_get_impl(INTERNAL_FUNCTION_PARAMETERS, zend_bool by_key)
1423
1423
MEMC_METHOD_INIT_VARS ;
1424
1424
1425
1425
if (by_key ) {
1426
- /* SS|f!l */
1426
+ /* " SS|f!l" */
1427
1427
ZEND_PARSE_PARAMETERS_START (2 , 4 )
1428
1428
Z_PARAM_STR (server_key )
1429
1429
Z_PARAM_STR (key )
@@ -1432,7 +1432,7 @@ void php_memc_get_impl(INTERNAL_FUNCTION_PARAMETERS, zend_bool by_key)
1432
1432
Z_PARAM_LONG (get_flags )
1433
1433
ZEND_PARSE_PARAMETERS_END ();
1434
1434
} else {
1435
- /* S|f!l */
1435
+ /* " S|f!l" */
1436
1436
ZEND_PARSE_PARAMETERS_START (1 , 3 )
1437
1437
Z_PARAM_STR (key )
1438
1438
Z_PARAM_OPTIONAL
@@ -1524,13 +1524,15 @@ static void php_memc_getMulti_impl(INTERNAL_FUNCTION_PARAMETERS, zend_bool by_ke
1524
1524
zend_bool retval , preserve_order ;
1525
1525
1526
1526
if (by_key ) {
1527
+ /* "Sa|l" */
1527
1528
ZEND_PARSE_PARAMETERS_START (2 , 3 )
1528
1529
Z_PARAM_STR (server_key )
1529
1530
Z_PARAM_ARRAY (keys )
1530
1531
Z_PARAM_OPTIONAL
1531
1532
Z_PARAM_LONG (flags )
1532
1533
ZEND_PARSE_PARAMETERS_END ();
1533
1534
} else {
1535
+ /* "a|l" */
1534
1536
ZEND_PARSE_PARAMETERS_START (1 , 2 )
1535
1537
Z_PARAM_ARRAY (keys )
1536
1538
Z_PARAM_OPTIONAL
@@ -1665,16 +1667,18 @@ static void php_memc_getDelayed_impl(INTERNAL_FUNCTION_PARAMETERS, zend_bool by_
1665
1667
1666
1668
1667
1669
if (by_key ) {
1670
+ /* "Sa/|bf!" */
1668
1671
ZEND_PARSE_PARAMETERS_START (2 , 4 )
1669
1672
Z_PARAM_STR (server_key )
1670
- Z_PARAM_ARRAY (keys )
1673
+ Z_PARAM_ARRAY_EX (keys , 0 , 1 )
1671
1674
Z_PARAM_OPTIONAL
1672
1675
Z_PARAM_BOOL (with_cas )
1673
1676
Z_PARAM_FUNC_EX (fci , fcc , 1 , 0 )
1674
1677
ZEND_PARSE_PARAMETERS_END ();
1675
1678
} else {
1679
+ /* "a/|bf!" */
1676
1680
ZEND_PARSE_PARAMETERS_START (1 , 3 )
1677
- Z_PARAM_ARRAY (keys )
1681
+ Z_PARAM_ARRAY_EX (keys , 0 , 1 )
1678
1682
Z_PARAM_OPTIONAL
1679
1683
Z_PARAM_BOOL (with_cas )
1680
1684
Z_PARAM_FUNC_EX (fci , fcc , 1 , 0 )
@@ -1832,6 +1836,7 @@ static void php_memc_setMulti_impl(INTERNAL_FUNCTION_PARAMETERS, zend_bool by_ke
1832
1836
MEMC_METHOD_INIT_VARS ;
1833
1837
1834
1838
if (by_key ) {
1839
+ /* "Sa|ll" */
1835
1840
ZEND_PARSE_PARAMETERS_START (2 , 4 )
1836
1841
Z_PARAM_STR (server_key )
1837
1842
Z_PARAM_ARRAY (entries )
@@ -1840,6 +1845,7 @@ static void php_memc_setMulti_impl(INTERNAL_FUNCTION_PARAMETERS, zend_bool by_ke
1840
1845
Z_PARAM_LONG (ignored )
1841
1846
ZEND_PARSE_PARAMETERS_END ();
1842
1847
} else {
1848
+ /* "a|ll" */
1843
1849
ZEND_PARSE_PARAMETERS_START (1 , 3 )
1844
1850
Z_PARAM_ARRAY (entries )
1845
1851
Z_PARAM_OPTIONAL
@@ -2056,7 +2062,7 @@ static void php_memc_cas_impl(INTERNAL_FUNCTION_PARAMETERS, zend_bool by_key)
2056
2062
MEMC_METHOD_INIT_VARS ;
2057
2063
2058
2064
if (by_key ) {
2059
- /* zSSz|ll */
2065
+ /* " zSSz|ll" */
2060
2066
ZEND_PARSE_PARAMETERS_START (4 , 6 )
2061
2067
Z_PARAM_ZVAL (zv_cas )
2062
2068
Z_PARAM_STR (server_key )
@@ -2067,7 +2073,7 @@ static void php_memc_cas_impl(INTERNAL_FUNCTION_PARAMETERS, zend_bool by_key)
2067
2073
Z_PARAM_LONG (ignored )
2068
2074
ZEND_PARSE_PARAMETERS_END ();
2069
2075
} else {
2070
- /* zSz|ll */
2076
+ /* " zSz|ll" */
2071
2077
ZEND_PARSE_PARAMETERS_START (3 , 5 )
2072
2078
Z_PARAM_ZVAL (zv_cas )
2073
2079
Z_PARAM_STR (key )
@@ -2162,15 +2168,15 @@ static void php_memc_delete_impl(INTERNAL_FUNCTION_PARAMETERS, zend_bool by_key)
2162
2168
MEMC_METHOD_INIT_VARS ;
2163
2169
2164
2170
if (by_key ) {
2165
- /* SS|l */
2171
+ /* " SS|l" */
2166
2172
ZEND_PARSE_PARAMETERS_START (2 , 3 )
2167
2173
Z_PARAM_STR (server_key )
2168
2174
Z_PARAM_STR (key )
2169
2175
Z_PARAM_OPTIONAL
2170
2176
Z_PARAM_LONG (expiration )
2171
2177
ZEND_PARSE_PARAMETERS_END ();
2172
2178
} else {
2173
- /* S|l */
2179
+ /* " S|l" */
2174
2180
ZEND_PARSE_PARAMETERS_START (1 , 2 )
2175
2181
Z_PARAM_STR (key )
2176
2182
Z_PARAM_OPTIONAL
@@ -2210,15 +2216,15 @@ static void php_memc_deleteMulti_impl(INTERNAL_FUNCTION_PARAMETERS, zend_bool by
2210
2216
MEMC_METHOD_INIT_VARS ;
2211
2217
2212
2218
if (by_key ) {
2213
- /* Sa/|l */
2219
+ /* " Sa/|l" */
2214
2220
ZEND_PARSE_PARAMETERS_START (2 , 3 )
2215
2221
Z_PARAM_STR (server_key )
2216
2222
Z_PARAM_ARRAY_EX (entries , 0 , 1 )
2217
2223
Z_PARAM_OPTIONAL
2218
2224
Z_PARAM_LONG (expiration )
2219
2225
ZEND_PARSE_PARAMETERS_END ();
2220
2226
} else {
2221
- /* a/|l */
2227
+ /* " a/|l" */
2222
2228
ZEND_PARSE_PARAMETERS_START (1 , 2 )
2223
2229
Z_PARAM_ARRAY_EX (entries , 0 , 1 )
2224
2230
Z_PARAM_OPTIONAL
@@ -2271,6 +2277,7 @@ static void php_memc_incdec_impl(INTERNAL_FUNCTION_PARAMETERS, zend_bool by_key,
2271
2277
MEMC_METHOD_INIT_VARS ;
2272
2278
2273
2279
if (!by_key ) {
2280
+ /* "S|lll" */
2274
2281
ZEND_PARSE_PARAMETERS_START (1 , 4 )
2275
2282
Z_PARAM_STR (key )
2276
2283
Z_PARAM_OPTIONAL
@@ -2279,6 +2286,7 @@ static void php_memc_incdec_impl(INTERNAL_FUNCTION_PARAMETERS, zend_bool by_key,
2279
2286
Z_PARAM_LONG (expiry )
2280
2287
ZEND_PARSE_PARAMETERS_END ();
2281
2288
} else {
2289
+ /* "SS|lll" */
2282
2290
ZEND_PARSE_PARAMETERS_START (2 , 5 )
2283
2291
Z_PARAM_STR (server_key )
2284
2292
Z_PARAM_STR (key )
@@ -2397,7 +2405,7 @@ PHP_METHOD(Memcached, addServer)
2397
2405
memcached_return status ;
2398
2406
MEMC_METHOD_INIT_VARS ;
2399
2407
2400
- /* Sa/|l */
2408
+ /* " Sa/|l" */
2401
2409
ZEND_PARSE_PARAMETERS_START (2 , 3 )
2402
2410
Z_PARAM_STR (host )
2403
2411
Z_PARAM_LONG (port )
@@ -2431,7 +2439,7 @@ PHP_METHOD(Memcached, addServers)
2431
2439
memcached_return status ;
2432
2440
MEMC_METHOD_INIT_VARS ;
2433
2441
2434
- /* a/ */
2442
+ /* "a/" */
2435
2443
ZEND_PARSE_PARAMETERS_START (1 , 1 )
2436
2444
Z_PARAM_ARRAY_EX (servers , 0 , 1 )
2437
2445
ZEND_PARSE_PARAMETERS_END ();
@@ -2536,7 +2544,7 @@ PHP_METHOD(Memcached, getServerByKey)
2536
2544
memcached_return error ;
2537
2545
MEMC_METHOD_INIT_VARS ;
2538
2546
2539
- /* S */
2547
+ /* "S" */
2540
2548
ZEND_PARSE_PARAMETERS_START (1 , 1 )
2541
2549
Z_PARAM_STR (server_key )
2542
2550
ZEND_PARSE_PARAMETERS_END ();
@@ -2757,7 +2765,7 @@ PHP_METHOD(Memcached, getStats)
2757
2765
zend_string * args_string = NULL ;
2758
2766
MEMC_METHOD_INIT_VARS ;
2759
2767
2760
- /* |S! */
2768
+ /* " |S!" */
2761
2769
ZEND_PARSE_PARAMETERS_START (0 , 1 )
2762
2770
Z_PARAM_OPTIONAL
2763
2771
Z_PARAM_STR_EX (args_string , 1 , 0 )
@@ -2849,7 +2857,7 @@ static PHP_METHOD(Memcached, flush)
2849
2857
memcached_return status ;
2850
2858
MEMC_METHOD_INIT_VARS ;
2851
2859
2852
- /* |l */
2860
+ /* "|l" */
2853
2861
ZEND_PARSE_PARAMETERS_START (0 , 1 )
2854
2862
Z_PARAM_OPTIONAL
2855
2863
Z_PARAM_LONG (delay )
@@ -2876,7 +2884,7 @@ static PHP_METHOD(Memcached, getOption)
2876
2884
memcached_behavior flag ;
2877
2885
MEMC_METHOD_INIT_VARS ;
2878
2886
2879
- /* l */
2887
+ /* "l" */
2880
2888
ZEND_PARSE_PARAMETERS_START (1 , 1 )
2881
2889
Z_PARAM_LONG (option )
2882
2890
ZEND_PARSE_PARAMETERS_END ();
@@ -3129,7 +3137,7 @@ PHP_METHOD(Memcached, setBucket)
3129
3137
memcached_return rc ;
3130
3138
MEMC_METHOD_INIT_VARS ;
3131
3139
3132
- /* aa!l */
3140
+ /* " aa!l" */
3133
3141
ZEND_PARSE_PARAMETERS_START (3 , 3 )
3134
3142
Z_PARAM_ARRAY (zserver_map )
3135
3143
Z_PARAM_ARRAY_EX (zforward_map , 1 , 0 )
@@ -3195,7 +3203,7 @@ static PHP_METHOD(Memcached, setOptions)
3195
3203
3196
3204
MEMC_METHOD_INIT_VARS ;
3197
3205
3198
- /* a */
3206
+ /* "a" */
3199
3207
ZEND_PARSE_PARAMETERS_START (1 , 1 )
3200
3208
Z_PARAM_ARRAY (options )
3201
3209
ZEND_PARSE_PARAMETERS_END ();
@@ -3226,7 +3234,7 @@ static PHP_METHOD(Memcached, setOption)
3226
3234
zval * value ;
3227
3235
MEMC_METHOD_INIT_VARS ;
3228
3236
3229
- /* lz/ */
3237
+ /* " lz/" */
3230
3238
ZEND_PARSE_PARAMETERS_START (2 , 2 )
3231
3239
Z_PARAM_LONG (option )
3232
3240
Z_PARAM_ZVAL_EX (value , 0 , 1 )
@@ -3247,7 +3255,7 @@ static PHP_METHOD(Memcached, setSaslAuthData)
3247
3255
memcached_return status ;
3248
3256
zend_string * user , * pass ;
3249
3257
3250
- /* SS/ */
3258
+ /* " SS/" */
3251
3259
ZEND_PARSE_PARAMETERS_START (2 , 2 )
3252
3260
Z_PARAM_STR (user )
3253
3261
Z_PARAM_STR (pass )
@@ -3733,7 +3741,7 @@ PHP_METHOD(MemcachedServer, run)
3733
3741
php_memc_server_t * intern ;
3734
3742
intern = Z_MEMC_SERVER_P (getThis ());
3735
3743
3736
- /* S */
3744
+ /* "S" */
3737
3745
ZEND_PARSE_PARAMETERS_START (1 , 1 )
3738
3746
Z_PARAM_STR (address )
3739
3747
ZEND_PARSE_PARAMETERS_END ();
@@ -3755,7 +3763,7 @@ PHP_METHOD(MemcachedServer, on)
3755
3763
zend_fcall_info_cache fci_cache ;
3756
3764
zend_bool rc = 0 ;
3757
3765
3758
- /* lf! */
3766
+ /* " lf!" */
3759
3767
ZEND_PARSE_PARAMETERS_START (2 , 2 )
3760
3768
Z_PARAM_LONG (event )
3761
3769
Z_PARAM_FUNC_EX (fci , fci_cache , 1 , 0 )
0 commit comments