Skip to content

[Sync-En] gmp, image: update gmp_random_seed example for PHP 8 and explain imagepng filters with system libgd - #1482

Merged
julionc merged 2 commits into
php:masterfrom
lacatoire:sync-en/gmp-imagepng
Oct 21, 2026
Merged

julionc merged 2 commits into
php:masterfrom
lacatoire:sync-en/gmp-imagepng

Conversation

@lacatoire

Copy link
Copy Markdown
Member

Translation of php/doc-en#5965 (ea41e5c) and php/doc-en#5982 (a162801): the gmp_random_seed example no longer uses gmp_random() and catches the ValueError, and imagepng explains that filters is only used with the bundled libgd. EN-Revision updated.

Also replaced por omisión with predeterminado in imagepng, and added the missing false return to the gmp_random_seed changelog row.

Fixes: #1465
Fixes: #1476

@julionc
julionc merged commit 66b64c6 into php:master Oct 21, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Sync EN] imagepng(): explain that filters is ignored with a system libgd (#5982) [Sync EN] gmp_random_seed(): update example for PHP 8 (#5965)

2 participants