ببخشيد ميشه بگيد مشكل اين كد چيه چون خطا ميده
<?php function estimateReadingtime(string $text): int { $wordscount = str_world_count($text); $readingtime = ceil($wordscount / 200); return $readingtime; }
https://quera.org/problemset/68266/
تخصص: برنامه نویس وب
سلام به این شکل بنویسید.
function estimateReadingTime(string $text): int { $word = str_word_count($text) / 200; return ceil($word); }
شاید پاسخ شما همینجا باشد