mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
ext/dba: Remove arg num check prior to ZPP checks (#15401)
This commit is contained in:
parent
ec2655f88b
commit
8093893496
1 changed files with 0 additions and 3 deletions
|
@ -1103,9 +1103,6 @@ PHP_FUNCTION(dba_key_split)
|
||||||
char *key, *name;
|
char *key, *name;
|
||||||
size_t key_len;
|
size_t key_len;
|
||||||
|
|
||||||
if (ZEND_NUM_ARGS() != 1) {
|
|
||||||
WRONG_PARAM_COUNT;
|
|
||||||
}
|
|
||||||
if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS(), "z", &zkey) == SUCCESS) {
|
if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS(), "z", &zkey) == SUCCESS) {
|
||||||
if (Z_TYPE_P(zkey) == IS_NULL || (Z_TYPE_P(zkey) == IS_FALSE)) {
|
if (Z_TYPE_P(zkey) == IS_NULL || (Z_TYPE_P(zkey) == IS_FALSE)) {
|
||||||
php_error_docref(NULL, E_DEPRECATED, "Passing false or null is deprecated since 8.4");
|
php_error_docref(NULL, E_DEPRECATED, "Passing false or null is deprecated since 8.4");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue