Closed AlexKarpan closed 1 year ago
Hey there,
Can you first please try one of the support channels below? If you can actually identify this as a bug, feel free to open up a new issue with a link to the original one and we'll gladly help you out.
Thanks!
Laravel Version
10
PHP Version
8.2
Database Driver & Version
No response
Description
\Cache::many([1,2,3])
for an empty cache returns:String keys like this
\Cache::many(['1','2','3'])
make no difference.The reason for this result is somewhat related to the implementation of PHP arrays, but the actual confusion happens in
Illuminate\Cache\Repository
at this place:Steps To Reproduce
php artisan tinker
\Cache::many([1,2,3]);
and hit enterThe expected result is: