Lines Matching refs:z_value
1285 zval *z_ftp, *z_value; in PHP_FUNCTION() local
1289 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rlz", &z_ftp, &option, &z_value) == FAILURE) { in PHP_FUNCTION()
1299 if (Z_TYPE_P(z_value) != IS_LONG) { in PHP_FUNCTION()
1300 …r(3, "must be of type int for the FTP_TIMEOUT_SEC option, %s given", zend_zval_type_name(z_value)); in PHP_FUNCTION()
1303 if (Z_LVAL_P(z_value) <= 0) { in PHP_FUNCTION()
1307 ftp->timeout_sec = Z_LVAL_P(z_value); in PHP_FUNCTION()
1311 if (Z_TYPE_P(z_value) != IS_TRUE && Z_TYPE_P(z_value) != IS_FALSE) { in PHP_FUNCTION()
1312 …ror(3, "must be of type bool for the FTP_AUTOSEEK option, %s given", zend_zval_type_name(z_value)); in PHP_FUNCTION()
1315 ftp->autoseek = Z_TYPE_P(z_value) == IS_TRUE ? 1 : 0; in PHP_FUNCTION()
1319 if (Z_TYPE_P(z_value) != IS_TRUE && Z_TYPE_P(z_value) != IS_FALSE) { in PHP_FUNCTION()
1320 … "must be of type bool for the FTP_USEPASVADDRESS option, %s given", zend_zval_type_name(z_value)); in PHP_FUNCTION()
1323 ftp->usepasvaddress = Z_TYPE_P(z_value) == IS_TRUE ? 1 : 0; in PHP_FUNCTION()