Searched refs:z_value (Results 1 – 1 of 1) sorted by relevance
/php-src/ext/ftp/ |
H A D | php_ftp.c | 1228 zval *z_ftp, *z_value; in PHP_FUNCTION() local 1232 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "Olz", &z_ftp, php_ftp_ce, &option, &z_value) == FAILUR… in PHP_FUNCTION() 1239 if (Z_TYPE_P(z_value) != IS_LONG) { in PHP_FUNCTION() 1240 …(3, "must be of type int for the FTP_TIMEOUT_SEC option, %s given", zend_zval_value_name(z_value)); in PHP_FUNCTION() 1243 if (Z_LVAL_P(z_value) <= 0) { in PHP_FUNCTION() 1247 ftp->timeout_sec = Z_LVAL_P(z_value); in PHP_FUNCTION() 1251 if (Z_TYPE_P(z_value) != IS_TRUE && Z_TYPE_P(z_value) != IS_FALSE) { in PHP_FUNCTION() 1252 …or(3, "must be of type bool for the FTP_AUTOSEEK option, %s given", zend_zval_value_name(z_value)); in PHP_FUNCTION() 1255 ftp->autoseek = Z_TYPE_P(z_value) == IS_TRUE ? 1 : 0; in PHP_FUNCTION() 1259 if (Z_TYPE_P(z_value) != IS_TRUE && Z_TYPE_P(z_value) != IS_FALSE) { in PHP_FUNCTION() [all …]
|
Completed in 10 milliseconds