Browse Source

phpcs de base

master
JLuc 5 months ago
parent
commit
a8b9ae981a
  1. 11
      cachelab_diag.php

11
cachelab_diag.php

@ -95,19 +95,22 @@ if (count($l_cible)) {
echo "<li>".xray_lien_cache($cle);
$cle_sans_ = rtrim($cle, '_');
if ($cle_sans_ != $cle) {
$clememo_ = substr($cle,strlen(_CACHE_NAMESPACE));
$clememo_ = substr($cle, strlen(_CACHE_NAMESPACE));
$clememo = rtrim($clememo_,'_');
echo " (sans _ : ".xray_lien_cache($cle_sans_).") ";
$v_ = $Memoization->get($clememo_);
if (!$v_)
if (!$v_) {
echo " (v_ vide) ";
}
$v = $Memoization->get($clememo);
if (!$v)
if (!$v) {
echo " (v vide) ";
}
}
echo "</li>";
}
echo "</ul>";
}
else
else {
echo "Pas de cache cible<br>";
}
Loading…
Cancel
Save