History log of /PHP-8.2/ext/gd/gd.stub.php (Results 26 – 44 of 44)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 2803c8fb 07-Aug-2020 Máté Kocsis

Add all the missing parameter types to stubs

Closes GH-5955

# 0d330e1a 28-Jul-2020 Máté Kocsis

Add a few missing parameter types in stubs

Related to GH-5627

# ac0da090 18-May-2020 Máté Kocsis

Fix UNKNOWN default values in ext/mbstring and ext/gd

Closes GH-5598

# 19bf66a9 06-Jul-2020 Máté Kocsis

Explode _php_image_output_ctx() into multiple functions

Closes GH-5844

# 7b2a8a6d 11-Apr-2020 Máté Kocsis

Lowercase NULL to null in stubs

# 3ea94ed7 08-Apr-2020 Nikita Popov

Fix typo in GD stub

# 5322de1b 04-Apr-2020 Máté Kocsis

Generate functions entries from stubs for another set of extensions

Closes GH-5351

# 2bcc4ab8 03-Apr-2020 Nikita Popov

Verify that all stubs have a return type

# 03bd4333 06-Jan-2020 Christoph M. Becker

Add imagegetinterpolation()

While `imagesetinterpolation()` is available as of PHP 5.5.0,
there is no according getter function, so users would have to track the
current interpolatio

Add imagegetinterpolation()

While `imagesetinterpolation()` is available as of PHP 5.5.0,
there is no according getter function, so users would have to track the
current interpolation method manually.

To remedy this, we introduce `imagegetinterpolation()` as thin wrapper
for `gdImageGetInterpolationMethod()` (which has been introduced with
libgd 2.1.1), and use `im->interpolation_id` as fallback for older
libgd. Since our bundled libgd does not yet have this function, we add
it.

We also simplify the recently introduced bug79068.phpt, where it is
sufficient to check that the interpolation method has not been changed.

show more ...

# d59bc807 18-Dec-2019 Máté Kocsis

Fix smaller issues with stubs

GH-5025

Revision tags: php-7.3.13RC1, php-7.2.26RC1, php-7.4.0, php-7.2.25, php-7.3.12
# c58b1233 16-Nov-2019 Máté Kocsis

Add union return types with one class

# 2de79f08 14-Nov-2019 Christoph M. Becker

Make the $num_points parameter of php_imagepolygon optional

That parameter is mostly useless in practise, and likely has been
directly ported from the underlying `gdImagePolygon()` and f

Make the $num_points parameter of php_imagepolygon optional

That parameter is mostly useless in practise, and likely has been
directly ported from the underlying `gdImagePolygon()` and friends,
which require that parameter since the number of elements of the point
array would otherwise be unknown. Typical usages of `imagepolygon()`,
`imageopenpolygon()` and `imagefilledpolygon()` pass `count($points)/2`
or hard-code this value as literal. Since explicitly specifying this
parameter is annoying and error-prone, we offer the possibility to omit
it, in which case the `$points` array must have an even number of
elements, and the number of points is calculated as `count($points)/2`.

show more ...

Revision tags: php-7.4.0RC6
# 27e83d0f 08-Nov-2019 Máté Kocsis

Add union return types for function stubs

Revision tags: php-7.3.12RC1, php-7.2.25RC1, php-7.4.0RC5, php-7.1.33, php-7.2.24, php-7.3.11, php-7.4.0RC4, php-7.3.11RC1, php-7.2.24RC1, php-7.4.0RC3
# 8aad466c 27-Sep-2019 Mark

Convert GD Resources to objects

Revision tags: php-7.2.23, php-7.3.10, php-7.4.0RC2, php-7.2.23RC1, php-7.3.10RC1, php-7.4.0RC1, php-7.1.32, php-7.2.22, php-7.3.9, php-7.4.0beta4, php-7.2.22RC1, php-7.3.9RC1
# 0c5b75b0 11-Aug-2019 Christoph M. Becker

Fix arginfo

The second parameter of `imagexbm()` is nullable.

# f30501b1 11-Aug-2019 Christoph M. Becker

Merge branch 'PHP-7.4'

* PHP-7.4:
Fix parameter order


# f2732040 11-Aug-2019 Christoph M. Becker

Merge branch 'PHP-7.4'

* PHP-7.4:
Extend color component range checks


# 40675195 11-Aug-2019 Christoph M. Becker

Fix arginfo

# c90a2738 11-Aug-2019 Christoph M. Becker

Add GD function stubs

12