Searched refs:z_value (Results 1 – 1 of 1) sorted by relevance
/PHP-8.3/ext/ftp/ |
H A D | php_ftp.c | 1239 zval *z_ftp, *z_value; in PHP_FUNCTION() local 1243 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "Olz", &z_ftp, php_ftp_ce, &option, &z_value) == FAILUR… in PHP_FUNCTION() 1250 if (Z_TYPE_P(z_value) != IS_LONG) { in PHP_FUNCTION() 1251 …(3, "must be of type int for the FTP_TIMEOUT_SEC option, %s given", zend_zval_value_name(z_value)); in PHP_FUNCTION() 1254 if (Z_LVAL_P(z_value) <= 0) { in PHP_FUNCTION() 1258 ftp->timeout_sec = Z_LVAL_P(z_value); in PHP_FUNCTION() 1262 if (Z_TYPE_P(z_value) != IS_TRUE && Z_TYPE_P(z_value) != IS_FALSE) { in PHP_FUNCTION() 1263 …or(3, "must be of type bool for the FTP_AUTOSEEK option, %s given", zend_zval_value_name(z_value)); in PHP_FUNCTION() 1266 ftp->autoseek = Z_TYPE_P(z_value) == IS_TRUE ? 1 : 0; in PHP_FUNCTION() 1270 if (Z_TYPE_P(z_value) != IS_TRUE && Z_TYPE_P(z_value) != IS_FALSE) { in PHP_FUNCTION() [all …]
|
Completed in 11 milliseconds