Closed
Description
Hello,
I know that PHP 8.2 did not reach stable status yet, but it will be helpfull to remove deprecation messages.
Read more at https://php.watch/versions/8.2/$%7Bvar%7D-string-interpolation-deprecated
With current version 8.4.1 of cachetool I got (for example) with cachetool opcache:status
command :
Deprecated: Using ${var} in strings is deprecated, use {$var} instead in phar:///usr/local/bin/cachetool/src/Command/AbstractOpcacheCommand.php on line 27
Deprecated: Using ${var} in strings is deprecated, use {$var} instead in phar:///usr/local/bin/cachetool/src/Command/OpcacheResetFileCacheCommand.php on line 47
Deprecated: Using ${var} in strings is deprecated, use {$var} instead in phar:///usr/local/bin/cachetool/src/Adapter/FastCGI.php on line 82
+----------------------+---------------------------------+
| Name | Value |
+----------------------+---------------------------------+
| Enabled | Yes |
| Cache full | No |
| Restart pending | No |
| Restart in progress | No |
| Memory used | 8.74 MiB |
| Memory free | 119.26 MiB |
| Memory wasted (%) | 0 b (0%) |
| Strings buffer size | 6 MiB |
| Strings memory used | 733.36 KiB |
| Strings memory free | 5.28 MiB |
| Number of strings | 15490 |
+----------------------+---------------------------------+
| Cached scripts | 0 |
| Cached keys | 0 |
| Max cached keys | 16229 |
| Start time | Sat, 15 Oct 2022 07:12:47 +0000 |
| Last restart time | Never |
| Oom restarts | 0 |
| Hash restarts | 0 |
| Manual restarts | 0 |
| Hits | 0 |
| Misses | 4 |
| Blacklist misses (%) | 0 (0%) |
| Opcache hit rate | 0 |
+----------------------+---------------------------------+
Metadata
Assignees
Labels
No labels