This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// ниже пример, когда существенно превышает длина строки 80 символов | |
// тут строка короче, но смысл тот же | |
// Вариант 1 | |
if (! $memcache->waitForUnlock($mKey) | |
|| ! $b0 = $memcache->get($mKey) | |
) { | |
$memcache->log("$mKey unlocked but cache is empty"); | |
$b0 = null; |