. Added "sybct.packet_size" php.ini option.
. Changed "sybct.login_timeout" php.ini option changeable at runtime.
. Fixed memory leak in sybase_set_message_handler().
+- Fixed bug #27056 (ints used instead of longs inside some GD functions).
+ (Ilia)
- Fixed bug #27040 (passing an array of form-fields to CURLOPT_POSTFIELDS
does not work). (Ilia, Jani)
- Fixed bug #26974 (rename() doesn't check the destination file against
PHP_FUNCTION(imagecolorallocatealpha)
{
zval *IM;
- int red, green, blue, alpha;
+ long red, green, blue, alpha;
gdImagePtr im;
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zllll", &IM, &red, &green, &blue, &alpha) == FAILURE) {
{
zval *img, *fnt;
int i, j;
- int _fg, _bg, x, y, size, space = 0, aa_steps = 4, width = 0;
+ long _fg, _bg, x, y, size, space = 0, aa_steps = 4, width = 0;
int *f_ind;
int h_lines, v_lines, c_ind;
int rd, gr, bl, fg_rd, fg_gr, fg_bl, bg_rd, bg_gr, bg_bl;