Closed soyuka closed 3 months ago
Is it expected to loose informations about the \SplPriorityQueue? (haven't tried with other SPL classes)
\SplPriorityQueue
$bar = new \SplPriorityQueue(); $bar->insert('a', 1); var_dump($bar); apcu_store('foo', $bar); var_dump(apcu_fetch('foo'));
apcu supports any class that can be serialized, and it looks like SplPriorityQueue currently doesn't support this. I've filed an issue with PHP here: https://github.com/php/php-src/issues/14402
Is it expected to loose informations about the
\SplPriorityQueue
? (haven't tried with other SPL classes)