"PHP" / Говнокод #27658 Ссылка на оригинал

0

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
  12. 12
  13. 13
  14. 14
public function StartDataCache($TTL=false, $uniq_str=false, $initdir=false, $vars=Array(), $basedir = "cache")
{
    $narg = func_num_args();
    if($narg<=0)
        return $this->cache->startDataCache();
    if($narg<=1)
        return $this->cache->startDataCache($TTL);
    if($narg<=2)
        return $this->cache->startDataCache($TTL, $uniq_str);
    if($narg<=3)
        return $this->cache->startDataCache($TTL, $uniq_str, $initdir);

    return $this->cache->startDataCache($TTL, $uniq_str, $initdir, $vars, $basedir);
}

Запостил: mixtyraa mixtyraa, (Updated )

Комментарии (1) RSS

Добавить комментарий для Perevedi_na_PHP Отменить ответ

Где здесь C++, guest?!

    А не использовать ли нам bbcode?


    8