<?php serialize(mixed $value): string
<?php { $key = $this->getCacheKey($key); file_put_contents($this->getCacheFile($key), serialize($value)); }
<?php private function isSerialized(string $string): bool { return $string === serialize(false) || @unserialize($string) !== false; } }