Skip to content

Change serialization and unserialization to use To/From Array methods#117

Open
goossda wants to merge 1 commit intoschmittjoh:masterfrom
goossda:bugfix/metadata-serialization-php8327
Open

Change serialization and unserialization to use To/From Array methods#117
goossda wants to merge 1 commit intoschmittjoh:masterfrom
goossda:bugfix/metadata-serialization-php8327

Conversation

@goossda
Copy link

@goossda goossda commented Oct 30, 2025

Q A
Bug fix? yes
New feature? yes/no
Doc updated yes/no
BC breaks? yes/no
Deprecations? yes/no
Tests pass? yes/no
Fixed tickets #...
License MIT

When working with PHP 8.3.27, writing metadata cache triggers following PHP - error with Sulu:
"Error: Maximum call stack size reached. Infinite recursion?"

This exception does NOT trigger with PHP 8.3.26 since this change :
php/php-src#19701

This change fixes that. We also move away from deprecated code this way, so it seems a reasonable fix.

@goetas goetas closed this Nov 30, 2025
@goetas goetas reopened this Nov 30, 2025
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.

2 participants