APCu

APCu - APC User Cache


APC User Caching

License: PHP License

Latest releases

Version Release Download
5.1.23 2023-11-11 apcu-5.1.23.tgz
5.1.22 2022-09-19 apcu-5.1.22.tgz
5.1.21 2021-10-07 apcu-5.1.21.tgz
5.1.20 2021-03-04 apcu-5.1.20.tgz
5.1.19 2020-10-05 apcu-5.1.19.tgz
Show all releases

Changelog

Version Message
5.1.23 - Revert use of monotonic clock for TTL (#451)
- Fix a crash when serializing packed arrays (e.g. lists) in PHP 8.2+ with `apc.serializer=default`.
- Reduce memory usage when serializing packed arrays (e.g. lists) in PHP 8.2+ with `apc.serializer=default`.
- Speed up serializing arrays with `apc.serializer=default`.
- Reduce memory usage when unserializing instances of the empty array in PHP 7.3+.
- Removed no longer working apcue extension.
- Increased limit on maximum number of slots.
- Made tests compatible with PHP 8.3.
5.1.22 - PHP 8.2 compatibility
- PHP 8.1 compatibility in apc.php
- Fix --enable-apcu-rwlocks configure option
- Enable transparent huge pages for mmap memory
- Use monotonic clock for TTL
5.1.21 - Fixed compatibility with PHP 8.1 by adding return types to APCUIterator.
- APCUIterator::current() and ::key() can no longer be called on an invalid iterator.
5.1.20 - Fix deadlocks when other apcu_* functions are used inside apcu_entry(). It should now be safe to use any functions inside the apcu_entry() callback.
- Fix division by zero exception in apc.php.
- Fix handling of references in PHP 8 if "default" serializer is used (which is not the default).
- Fix string reuse handling if "default" serializer is used (which is not the default).
- Check for failures when acquiring read locks to report problems earlier (write locks were already checked previously).
- Adjust tests for current PHP 8.1 development branch.
- Remove *_api.h headers. Use apc_cache.h instead of apc_cache_api.h etc.
5.1.19 - Fixed apcu_store() with integer keys (#388).
- Made apc.use_request_time=0 the default (#391).
- Made apcu compatible with PHP 8.0.
Show complete changelog