Weilin Du
2918caee20
ext/*: Remove break after return ( #21485 )
2026-03-23 20:30:13 +01:00
David Carlier
7e16d4e5f8
Merge branch 'PHP-8.5'
...
* PHP-8.5:
ext/gd: phpinfo() to be able to display libjpeg 10.0 support.
2026-03-14 18:24:55 +00:00
David Carlier
277a016723
Merge branch 'PHP-8.4' into PHP-8.5
...
* PHP-8.4:
ext/gd: phpinfo() to be able to display libjpeg 10.0 support.
2026-03-14 18:24:17 +00:00
David Carlier
e257c086bb
ext/gd: phpinfo() to be able to display libjpeg 10.0 support.
...
Fix #21431
Co-Authored-By: rainerjung
close GH-21432
2026-03-14 18:23:35 +00:00
Peter Kokot
f17c5ad83b
Windows build: Add new function CHECK_HEADER() ( #21191 )
...
The current function `CHECK_HEADER_ADD_INCLUDE()` automatically defines
`HAVE_<HEADER_NAME_H>` preprocessor macros, which makes it difficult to
sync with other build systems. Specially, if some `HAVE_` macro is used
in the code and this function defines this macro but Autotools doesn't.
The new `CHECK_HEADER()` function behaves similar except it doesn't
define the `HAVE_<HEADER_NAME_H>` preprocessor macro.
This removes the following unused compile definitions:
HAVE_ARGON2_H
HAVE_AVIF_H
HAVE_BZLIB_H
HAVE_CAPSTONE_CAPSTONE_H
HAVE_CURL_EASY_H
HAVE_DB_H
HAVE_DECODE_H
HAVE_DEPOT_H
HAVE_EDITLINE_READLINE_H
HAVE_ENCHANT_H
HAVE_ENCODE_H
HAVE_FFI_H
HAVE_FIREBIRD_INTERFACE_H
HAVE_FT2BUILD_H
HAVE_GD_H
HAVE_GLIB_H
HAVE_GMP_H
HAVE_HTTPD_H
HAVE_IBASE_H
HAVE_IR_IR_H
HAVE_KECCAKHASH_H
HAVE_LBER_H
HAVE_LDAP_H
HAVE_LIBEXSLT_EXSLT_H
HAVE_LIBINTL_H
HAVE_LIBPQ_FE_H
HAVE_LIBTIDY_TIDY_H
HAVE_LIBXML_PARSER_H
HAVE_LIBXML_TREE_H
HAVE_LIBXML_XMLWRITER_H
HAVE_LIBXSLT_XSLT_H
HAVE_LMDB_H
HAVE_MBSTRING_H
HAVE_MYSQL_H
HAVE_ONIGURUMA_H
HAVE_OPENSSL_SSL_H
HAVE_PNG_H
HAVE_SNMP_H
HAVE_SODIUM_H
HAVE_SQLITE3_H
HAVE_SQLITE3EXT_H
HAVE_SYBFRONT_H
HAVE_TIDY_H
HAVE_TIDY_TIDY_H
HAVE_TIDYBUFFIO_H
HAVE_TIMELIB_CONFIG_H
HAVE_UNICODE_USPOOF_H
HAVE_UNICODE_UTF_H
HAVE_XPM_H
HAVE_ZIP_H
HAVE_ZIPCONF_H
HAVE_ZLIB_H
The following compile definitions are defined explicitly:
- HAVE_ICONV_H
- HAVE_MSCOREE_H
- HAVE_SQL_H
- HAVE_SQLEXT_H
Additionally, the `SETUP_OPENSSL()` function doesn't accept the 6th
argument anymore.
2026-03-03 20:06:40 +01:00
Ilija Tovilo
073dcf66bb
Merge branch 'PHP-8.5'
...
* PHP-8.5:
Add RUN_RESOURCE_HEAVY_TESTS env var
2026-02-27 15:05:28 +01:00
Ilija Tovilo
07e29acbd4
Merge branch 'PHP-8.4' into PHP-8.5
...
* PHP-8.4:
Add RUN_RESOURCE_HEAVY_TESTS env var
2026-02-27 15:05:21 +01:00
Ilija Tovilo
6f91209260
Merge branch 'PHP-8.3' into PHP-8.4
...
* PHP-8.3:
Add RUN_RESOURCE_HEAVY_TESTS env var
2026-02-27 15:05:14 +01:00
Ilija Tovilo
c6ad84fb9e
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Add RUN_RESOURCE_HEAVY_TESTS env var
2026-02-27 15:04:24 +01:00
Ilija Tovilo
3a57b4ced5
Add RUN_RESOURCE_HEAVY_TESTS env var
...
Disable resource-heavy tests by default (>1GB of memory usage), unless the
RUN_RESOURCE_HEAVY_TESTS env variable is set.
Fixes GH-20762
Closes GH-20935
2026-02-27 15:00:35 +01:00
Arshid
d84ad6a532
ext/gd: remove _php_image_output unused argument ( #21138 )
2026-02-05 17:52:42 +00:00
Arnaud Le Blanc
65b4073922
Include the actual stub name in generated arginfo headers ( #20993 )
2026-01-21 20:57:00 +01:00
Weilin Du
4f793ba1c3
[skip ci] Fix duplicate words typos (GH-20800)
2025-12-31 02:22:09 +01:00
David Carlier
4cc5f02387
Merge branch 'PHP-8.5'
...
* PHP-8.5:
ext/gd: fix build
2025-12-04 23:25:42 +00:00
David Carlier
e910bbf144
ext/gd: fix build
2025-12-04 23:25:29 +00:00
David Carlier
8504b18a34
Merge branch 'PHP-8.5'
...
* PHP-8.5:
Fix GH-20622: imagestring/imagestringup overflow/underflow.
2025-12-04 23:16:22 +00:00
David Carlier
400aa844a6
Merge branch 'PHP-8.4' into PHP-8.5
...
* PHP-8.4:
Fix GH-20622: imagestring/imagestringup overflow/underflow.
2025-12-04 23:16:08 +00:00
David Carlier
2c2852ae8e
Merge branch 'PHP-8.3' into PHP-8.4
...
* PHP-8.3:
Fix GH-20622: imagestring/imagestringup overflow/underflow.
2025-12-04 23:14:01 +00:00
David Carlier
9f654decdc
Fix GH-20622: imagestring/imagestringup overflow/underflow.
...
close GH-20623
2025-12-04 23:13:29 +00:00
David Carlier
dddd050486
Merge branch 'PHP-8.5'
...
* PHP-8.5:
Fix GH-20602: imagescale() overflow with large height values.
2025-11-29 13:33:04 +00:00
David Carlier
848269d6a8
Merge branch 'PHP-8.4' into PHP-8.5
...
* PHP-8.4:
Fix GH-20602: imagescale() overflow with large height values.
2025-11-29 13:32:18 +00:00
David Carlier
6d5490861f
Merge branch 'PHP-8.3' into PHP-8.4
...
* PHP-8.3:
Fix GH-20602: imagescale() overflow with large height values.
2025-11-29 13:31:38 +00:00
David Carlier
c8e13af455
Fix GH-20602: imagescale() overflow with large height values.
...
close GH-20605
2025-11-29 13:30:49 +00:00
David Carlier
94e65d301b
Merge branch 'PHP-8.5'
...
* PHP-8.5:
Fix GH-20551: imagegammacorrect out of range gamma value.
2025-11-22 22:23:53 +00:00
David Carlier
4d71d8a454
Merge branch 'PHP-8.4' into PHP-8.5
...
* PHP-8.4:
Fix GH-20551: imagegammacorrect out of range gamma value.
2025-11-22 22:23:41 +00:00
David Carlier
30cb1998ae
Merge branch 'PHP-8.3' into PHP-8.4
...
* PHP-8.3:
Fix GH-20551: imagegammacorrect out of range gamma value.
2025-11-22 22:22:50 +00:00
David Carlier
f88d247ce2
Fix GH-20551: imagegammacorrect out of range gamma value.
...
close GH-20552
2025-11-22 22:22:27 +00:00
Peter Kokot
d9d55f011d
ext/gd: Enable HAVE_GD_GET_INTERPOLATION ( #20535 )
...
Bundled libgd has gdImageGetInterpolationMethod() function. It is
available as of libgd 2.1.1.
2025-11-20 15:15:19 +01:00
David Carlier
7ba7b308ce
Merge branch 'PHP-8.5'
...
* PHP-8.5:
ext/gd: Fix GH-19955 unit test.
2025-10-27 17:46:02 +00:00
David Carlier
1b220cb243
Merge branch 'PHP-8.4' into PHP-8.5
...
* PHP-8.4:
ext/gd: Fix GH-19955 unit test.
2025-10-27 17:45:52 +00:00
David Carlier
f1a5c53544
Merge branch 'PHP-8.3' into PHP-8.4
...
* PHP-8.3:
ext/gd: Fix GH-19955 unit test.
2025-10-27 17:45:40 +00:00
David Carlier
3c063abba1
ext/gd: Fix GH-19955 unit test.
...
Adding guard for imagefttext() availability.
close GH-20309
2025-10-27 17:45:17 +00:00
Tim Düsterhus
6da93a86f2
zend_API: Remove CHECK*NULL_PATH ( #20155 )
...
* tree-wide: Replace `CHECK_NULL_PATH()` by `zend_char_has_nul_byte()`
The former is a direct alias of the latter with a more explicit name and the
former is explicitly documented as a “compatibility” alias.
* tree-wide: Replace `CHECK_ZVAL_NULL_PATH()` by its definition
The former is explicitly documented as a “compatibility” alias.
* zend_API: Remove `CHECK*NULL_PATH`
The `CHECK_ZVAL_NULL_PATH()` macro is unsafe, because it implicitly assumes
that the given `zval*` is `IS_STRING`.
Based on a GitHub search there does not seem to be any user outside of PHP, all
hits were just forks / copies of php-src.
2025-10-15 10:24:22 +02:00
Gina Peter Banyard
6cb21229f8
ext/gd/imagefilter: Improve wording of ArgCount error
...
This is done by parsing this as 2 arguments with variadics that are never actually parsed
2025-10-13 23:07:41 +01:00
Gina Peter Banyard
0587da9ef1
ext/gd/imagefilter: Add test case for manual ZPP
2025-10-13 23:07:41 +01:00
Gina Peter Banyard
c1d0c61e81
Merge branch 'PHP-8.4' into PHP-8.5
...
* PHP-8.4:
Fix GH-20070: Return type violation in imagefilter when an invalid filter is provided
2025-10-12 23:09:47 +01:00
Gina Peter Banyard
e7aea3db48
Merge branch 'PHP-8.3' into PHP-8.4
...
* PHP-8.3:
Fix GH-20070: Return type violation in imagefilter when an invalid filter is provided
2025-10-12 23:09:09 +01:00
Gina Peter Banyard
26f989313e
Fix GH-20070: Return type violation in imagefilter when an invalid filter is provided
...
Closes GH-20071
2025-10-12 23:08:08 +01:00
David Carlier
033dd8a8b7
Merge branch 'PHP-8.4' into PHP-8.5
2025-09-29 23:21:08 +01:00
David Carlier
1015de30f0
Merge branch 'PHP-8.3' into PHP-8.4
2025-09-29 23:20:38 +01:00
David Carlier
e029f8f45b
Fix GH-19955: imagefttext() memory leak
...
close GH-19968
2025-09-29 23:20:27 +01:00
David Carlier
b697d1bcfa
Merge branch 'PHP-8.4'
2025-09-07 18:19:21 +01:00
David Carlier
a0b7dab64b
Merge branch 'PHP-8.3' into PHP-8.4
2025-09-07 18:19:08 +01:00
David Carlier
93865a4086
Fix GH-19578: imagefilledellipse underflow on width argument.
...
close GH-19579
2025-09-07 18:18:17 +01:00
Daniel Scherzer
3f3a266a2b
gen_stub: Infer constants' types from values ( #19568 )
...
Don't require `@var` with a type when the type can be inferred from a literal
value in the stub file.
2025-09-03 18:26:43 -07:00
Jorg Adam Sowa
d6d0a2a217
remove safe_mode leftovers ( #19552 )
2025-08-24 03:55:15 +01:00
Gina Peter Banyard
cab46b27b9
ext/standard: Deprecate passing integers outside the interval [0, 255] to chr() ( #19441 )
...
RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_passing_integers_outside_the_interval_0_255_to_chr
2025-08-14 20:48:48 +01:00
Daniel Scherzer
a68f3d6374
[RFC] Deprecate imagedestroy() ( #19454 )
...
https://wiki.php.net/rfc/deprecations_php_8_5
2025-08-12 05:50:09 -07:00
Gina Peter Banyard
eaf24ba4e2
Merge branch 'PHP-8.4'
...
* PHP-8.4:
ext/gd: Fix comparison with result of php_stream_can_cast()
2025-07-28 11:55:43 +01:00
Gina Peter Banyard
19c84e2687
Merge branch 'PHP-8.3' into PHP-8.4
...
* PHP-8.3:
ext/gd: Fix comparison with result of php_stream_can_cast()
2025-07-28 11:55:14 +01:00