Skip to content

apcu: store native PHP values — remove manual serialize()/unserialize()#15204

Merged
mhcwebdesign merged 2 commits intoopencart:3.0.x.xfrom
varyagnord:patch-1
Nov 15, 2025
Merged

apcu: store native PHP values — remove manual serialize()/unserialize()#15204
mhcwebdesign merged 2 commits intoopencart:3.0.x.xfrom
varyagnord:patch-1

Conversation

@varyagnord
Copy link
Copy Markdown

This change removes explicit serialize() on set() and explicit unserialize() on get() and stores values directly with apcu_store() / apcu_fetch() (native PHP zvals).

APCu cache driver: store native PHP values instead of manual serialization — improved performance and memory usage; backward-compatible with existing cached entries.

This change removes explicit serialize() on set() and explicit unserialize() on get() and stores values directly with apcu_store() / apcu_fetch() (native PHP zvals).

APCu cache driver: store native PHP values instead of manual serialization — improved performance and memory usage; backward-compatible with existing cached entries.
This change removes explicit serialize() on set() and explicit unserialize() on get() and stores values directly with apcu_store() / apcu_fetch() (native PHP zvals).

APCu cache driver: store native PHP values instead of manual serialization — improved performance and memory usage; backward-compatible with existing cached entries.
@mhcwebdesign mhcwebdesign merged commit 4f8bd1d into opencart:3.0.x.x Nov 15, 2025
4 checks passed
@mhcwebdesign
Copy link
Copy Markdown
Contributor

I have now merged it to the 3.0.x.x branch, thanks for this update.

For the future: Please make sure to use leading tabs instead of leading spaces for the indentations in PHP files, see e.g. #15205 and https://github.com/opencart/opencart/wiki/Coding-standards#indentation .

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