8 Commits
Author SHA1 Message Date
Gina Peter Banyard c0250bac3a intl: stop including headers as C extern (#24617)
Except for arginfo header as PHP_FUNCTION/PHP_METHOD are marked as U_CFUNC and the `ext/date/php_date.h` header doesn't use extern C.

We now specificy the header symbols that _need_ to follow the C function ABI, meaning in some places we drop U_CFUNC declarations and in others we add it.

Also use the `BEGIN_EXTERN_C()` portability macro when possible so that searching for this is easier.
2026-10-23 21:51:52 +01:00
Gina Peter Banyard 16375e4081 intl: replace U_CFUNC by static for some functions 2026-10-23 19:10:20 +01:00
Ilia Alshanetsky 4bc9c1b1d6 Merge branch 'PHP-8.5'
* PHP-8.5:
  ext/intl: Preserve PHP-side state when cloning formatters
2026-09-13 10:08:47 -04:00
Ilia Alshanetsky 60c8cfc04f Merge branch 'PHP-8.4' into PHP-8.5
* PHP-8.4:
  ext/intl: Preserve PHP-side state when cloning formatters
2026-09-13 10:06:15 -04:00
Tim Düsterhus 5212b816d2 zend_objects: Make old_object a const* in zend_objects_clone_members() (#22089)
* zend_objects: Make `old_object` a `const*` in `zend_objects_clone_members()`

* tree-wide: Make the original object `const` in `clone_obj` handlers
2026-05-19 14:16:03 +02:00
Tim Düsterhus 7114314c5a tree-wide: Replace XtOffsetOf by its definition (#21899)
`offsetof()` is in `stddef.h` and thus always available. The extra macro is an
unnecessary layer of indirection.
2026-04-28 22:12:56 +02:00
Ben Ramsey bb068359d4 license-update: ext/intl source headers
RFC: https://wiki.php.net/rfc/php_license_update
2026-04-11 21:20:54 -05:00
David CARLIER 140fc69b4a ext/intl: update from C to C++ step2. (#19294) 2025-08-07 22:36:34 +01:00