Bu yerda PHP funksiyasi ikkita sanalar qatorini qabul qiladi va hafta oxiri kunlari, shanba yoki yakshanba kunlari soni bilan butun sonni qaytaradi. ``` funksiya count_weekend_days ((($start_date, $end_date) { $start = new DateTime ((($start_date); $end = new DateTime ((($end_date); $interval = DateInterval::createFromDateString (((1 day'); $period = new DatePeriod ((($start, $interval, $end); $count = 0; foreach ($period as $) { if ($date->format'('N') = > 6) { $count; }++ return $count; } ```` Option: - Uzoq samarali ```Time::format) usulini ishlatadi, haftaning kun
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence