Infinite loop
خولی بێکۆتا
Proposed Kurdish term — under reviewزاراوەی پێشنیارکراو — لە ژێر پێداچوونەوەدایە Definitionپێناسە
A loop whose condition never becomes false, so it never stops — for example when you forget count += 1. Stop it with Ctrl+C in a terminal; on a web server PHP stops the script after a time limit (max_execution_time).
کە هەرگیز هەڵە نابێت، بۆیە هەرگیز ناوەستێت، بۆ نموونە کاتێک count += 1 لەبیر دەکەیت. لە تێرمیناڵدا بە Ctrl+C ڕای بگرە؛ لەسەر ڕاژەکاری وێب PHP دوای ماوەیەکی دیاریکراو (max_execution_time) دەیوەستێنێت.
Exampleنموونە
Without $i++, $i stays 1 and the loop never ends.
بەبێ $i++، $i هەمیشە 1 دەمێنێتەوە و کۆتایی نایەت.
$i = 1;
while ($i <= 5) {
echo $i;
// $i++; is missing, so $i stays 1 forever
}Other Kurdish renderings in useوەرگێڕانە کوردییەکانی تر
خولی بێسنوور، لووپی بێکۆتا، خولە بێکۆتاکە، خولە بێکۆتاکان، خولێکی بێکۆتا
Related termsزاراوە پەیوەندیدارەکان
Videosڤیدیۆکان
Learn more inزیاتر فێربە لە
- Loops: while, do...while, for, foreach, break and continueخولەکان: while و do...while و for و foreach و break و continue
- while Loops, break and continueخولەکانی while، break و continue
- The while Loopخولی while
- Controlling Loops: break and continueکۆنترۆڵکردنی خولەکان:
breakوcontinue - Reading and Writing Filesخوێندنەوە و نووسینی فایلەکان
- Project: A Word-Scramble Gameپڕۆژیلە: یاریی پیتە تێکەڵەکان
- Types of Agents and Multi-Agent Systemsجۆرەکانی ئەیجێنت و سیستەمە فرەئەیجێنتەکان
- Depth-First and Breadth-First Searchگەڕانی قووڵایی و گەڕانی پانایی
- Algorithms, Pseudocode and Flowchartsئەلگۆریزمەکان، نیمچەکۆد و هێڵکارییەکانی ڕەوت
- Handling Errors with try and exceptمامەڵەکردن لەگەڵ هەڵاوێردە بە try و except
- Binary Search and Hashingگەڕانی دووانی و هاشکردن
- Project: Binary to Decimal Converterپڕۆژیلە: گۆڕینی دووانی بۆ دەیی
- Project: Finding Roots Numericallyپڕۆژە: دۆزینەوەی ڕەگ بە ڕێگە ژمارەییەکان
- Course review and practiceپێداچوونەوە و ڕاهێنانی کۆرسەکە