@@ -1331,7 +1331,7 @@ ZEND_API ZEND_COLD void ZEND_FASTCALL zend_wrong_callback_error(int num, char *e
1331
1331
/* old "l" */
1332
1332
#define Z_PARAM_LONG_EX2 (dest , is_null , check_null , deref , separate ) \
1333
1333
Z_PARAM_PROLOGUE(deref, separate); \
1334
- if (UNEXPECTED(!zend_parse_arg_long(_arg, &dest, &is_null, check_null, 0 ))) { \
1334
+ if (UNEXPECTED(!zend_parse_arg_long(_arg, &dest, &is_null, check_null))) { \
1335
1335
_expected_type = Z_EXPECTED_LONG; \
1336
1336
_error_code = ZPP_ERROR_WRONG_ARG; \
1337
1337
break; \
@@ -1343,21 +1343,6 @@ ZEND_API ZEND_COLD void ZEND_FASTCALL zend_wrong_callback_error(int num, char *e
1343
1343
#define Z_PARAM_LONG (dest ) \
1344
1344
Z_PARAM_LONG_EX(dest, _dummy, 0, 0)
1345
1345
1346
- /* old "L" */
1347
- #define Z_PARAM_STRICT_LONG_EX2 (dest , is_null , check_null , deref , separate ) \
1348
- Z_PARAM_PROLOGUE(deref, separate); \
1349
- if (UNEXPECTED(!zend_parse_arg_long(_arg, &dest, &is_null, check_null, 1))) { \
1350
- _expected_type = Z_EXPECTED_LONG; \
1351
- _error_code = ZPP_ERROR_WRONG_ARG; \
1352
- break; \
1353
- }
1354
-
1355
- #define Z_PARAM_STRICT_LONG_EX (dest , is_null , check_null , separate ) \
1356
- Z_PARAM_STRICT_LONG_EX2(dest, is_null, check_null, separate, separate)
1357
-
1358
- #define Z_PARAM_STRICT_LONG (dest ) \
1359
- Z_PARAM_STRICT_LONG_EX(dest, _dummy, 0, 0)
1360
-
1361
1346
/* old "o" */
1362
1347
#define Z_PARAM_OBJECT_EX2 (dest , check_null , deref , separate ) \
1363
1348
Z_PARAM_PROLOGUE(deref, separate); \
@@ -1514,8 +1499,6 @@ ZEND_API int ZEND_FASTCALL zend_parse_arg_bool_slow(zval *arg, zend_bool *dest);
1514
1499
ZEND_API int ZEND_FASTCALL zend_parse_arg_bool_weak (zval * arg , zend_bool * dest );
1515
1500
ZEND_API int ZEND_FASTCALL zend_parse_arg_long_slow (zval * arg , zend_long * dest );
1516
1501
ZEND_API int ZEND_FASTCALL zend_parse_arg_long_weak (zval * arg , zend_long * dest );
1517
- ZEND_API int ZEND_FASTCALL zend_parse_arg_long_cap_slow (zval * arg , zend_long * dest );
1518
- ZEND_API int ZEND_FASTCALL zend_parse_arg_long_cap_weak (zval * arg , zend_long * dest );
1519
1502
ZEND_API int ZEND_FASTCALL zend_parse_arg_double_slow (zval * arg , double * dest );
1520
1503
ZEND_API int ZEND_FASTCALL zend_parse_arg_double_weak (zval * arg , double * dest );
1521
1504
ZEND_API int ZEND_FASTCALL zend_parse_arg_str_slow (zval * arg , zend_string * * dest );
@@ -1539,7 +1522,7 @@ static zend_always_inline int zend_parse_arg_bool(zval *arg, zend_bool *dest, ze
1539
1522
return 1 ;
1540
1523
}
1541
1524
1542
- static zend_always_inline int zend_parse_arg_long (zval * arg , zend_long * dest , zend_bool * is_null , int check_null , int cap )
1525
+ static zend_always_inline int zend_parse_arg_long (zval * arg , zend_long * dest , zend_bool * is_null , int check_null )
1543
1526
{
1544
1527
if (check_null ) {
1545
1528
* is_null = 0 ;
@@ -1549,8 +1532,6 @@ static zend_always_inline int zend_parse_arg_long(zval *arg, zend_long *dest, ze
1549
1532
} else if (check_null && Z_TYPE_P (arg ) == IS_NULL ) {
1550
1533
* is_null = 1 ;
1551
1534
* dest = 0 ;
1552
- } else if (cap ) {
1553
- return zend_parse_arg_long_cap_slow (arg , dest );
1554
1535
} else {
1555
1536
return zend_parse_arg_long_slow (arg , dest );
1556
1537
}
0 commit comments