Skip to content

chore: suggest ext-deepclone - #8658

Merged
soyuka merged 1 commit into
api-platform:5.0from
soyuka:deepclone-suggest
Oct 9, 2026
Merged

soyuka merged 1 commit into
api-platform:5.0from
soyuka:deepclone-suggest

Conversation

@soyuka

@soyuka soyuka commented Oct 8, 2026

Copy link
Copy Markdown
Member
Q A
Branch? 5.0
Tickets n/a
License MIT
Doc PR n/a

From symfony/var-exporter 8.1, VarExporter::export() goes through deepclone_to_array(), so do our metadata caches (children of cache.system, the PHP files adapter). Without the extension it runs on symfony/polyfill-deepclone, the extension only makes it faster.

Related: symfony/php-ext-deepclone#63, dunglas/symfony-docker#972, php/frankenphp#2699 to have it installed by default.

@soyuka
soyuka merged commit 5fcc64d into api-platform:5.0 Oct 9, 2026
116 of 117 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.

1 participant