[php-src] Issue #15353: APCu apc.shm_size=32M
| From: | Nikit | Date: | Mon, 12 Aug 2024 00:48:08 +0000 |
| Subject: | [php-src] Issue #15353: APCu apc.shm_size=32M | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-247480@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/15353
Author: Nikit
### Description
**ext-apcu.ini:**
```ini
extension=apcu
apc.shm_size=32M
```
The following code:
```php
<?php
$memory_info = apcu_sma_info(TRUE);
print $memory_info['seg_size'];
```
Resulted in this output:
```
33554312
```
But I expected this output instead:
```
33554432
```
120 bytes differences of real 32MB. Is it OK or not?
### PHP Version
PHP 8.3.6
### Operating System
Debian GNU/Linux 11 (bullseye)