Definitionپێناسە
A collection of values in one variable, each found by its (or ). In Java and C# an array has a fixed length and one element type (String[] names = new String[2];); PHP's array grows and can also use names as keys. Python uses a instead.
کۆکراوەیەکی نرخەکانە لە یەک گۆڕاودا، هەر نرخێک بە (یان ) دەدۆزرێتەوە. لە Java و C#ـدا درێژییەکی جێگیر و یەک جۆری دانەی هەیە (String[] names = new String[2];)؛ ڕیزەکی PHP گەورە دەبێت و دەتوانێت ناویش وەک کلیل بەکار بهێنێت. Python لەبری ئەوە بەکار دەهێنێت.
Exampleنموونە
Index 1 is the second element, because counting starts at 0.
ئیندێکسی 1 دووەم دانەیە، چونکە ژماردن لە سفرەوە دەست پێ دەکات.
$colors = ["red", "green", "blue"];
echo $colors[1]; // greenOther Kurdish renderings in useوەرگێڕانە کوردییەکانی تر
ئەڕەی، ئاڕەی، ڕیزکراو، ڕیزبەند، ڕیزەکەکە، ڕیزەکەکان، ڕیزەکێک، ڕیزەکی، ڕیزەکەکانی
Note on the Kurdish termتێبینی دەربارەی زاراوە کوردییەکە
The notes use ڕیزەک (glossary #35); this site's chapter titles say ئەڕەی, the loanword many students use. Sozyar Osman's CS book: ئەرەی (also ئەررەی). Barzinji's dictionary: ڕیزکراو، ڕیزبەند.
Related termsزاراوە پەیوەندیدارەکان
Videosڤیدیۆکان
In Kurdish: what an array is, why we use arrays, and what we can do with them in PHP.
بە کوردی: چییە، بۆچی بەکاردەهێنین و لە چییان پێ دەکەین.
Learn more inزیاتر فێربە لە
- Arrays in PHPڕیزەکەکان لە PHPـدا
- Data typesجۆرەکانی دراوە
- Multidimensional Arraysڕیزەکە فرەڕەهەندەکان
- Sorting Arraysڕیزکردنی ڕیزەکەکان
- Course review and practiceپێداچوونەوە و ڕاهێنانی کۆرسەکە
- Web APIs and JSONAPIـی وێب و JSON
- Loops: while, do...while, for, foreach, break and continueخولەکان: while و do...while و for و foreach و break و continue
- Welcome to MATLAB (and Octave)بەخێربێیت بۆ MATLAB (و Octave)
- Python Next to JavaPython لە تەنیشت Javaـەوە
- Indexing, the Colon, Adding and Deleting Elementsئیندێکسەکان، دوو خاڵ، زیادکردن و سڕینەوەی توخمەکان
- Making Decisions: Relational Operators and if / elseif / elseبڕیاردان: کارپێکەرەکانی بەراوردکردن و if / elseif / else
- Strings and string functionsزنجیرەنووسەکان و کردارەکانی زنجیرەنووسە
- Operatorsکارپێکەرەکان
- PHP Superglobalsسووپەرگلۆباڵەکانی PHP
- Lists: Creating and Indexingلیستەکان: دروستکردن و ئیندێکسەکان
- Matrix Operations vs Element-by-Element Operationsکارەکانی ماتریکس بەرامبەر کارەکانی توخم بە توخم
- Uploading Filesبارکردنی فایل
- Variablesگۆڕاوەکان
- Sessionsسێشنەکان
- Vectors and Rangesئاڕاستەبڕەکان و زنجیرەکان
- Form Handling with GET and POSTمامەڵەکردن لەگەڵ فۆرم بە GET و POST
- Cookiesکووکییەکان
- Functions for Arraysکردارەکانی ڕیزەک
- Functionsکردارەکان
- Algebra, Boolean Logic and Matrices Inside the Computerجەبر، لۆجیکی بوول و ماتریکسەکان لەناو کۆمپیوتەردا
- Inserting and selecting data with PHPزیادکردن و هەڵبژاردنی زانیاری بە PHP
- Creating Matricesدروستکردنی ماتریکسەکان
- Script Files, input, disp and fprintfفایلەکانی دەسنووس، input، disp و fprintf
- for Loops: Sums, Series and Searchingخولەکانی for: کۆکردنەوە، زنجیرە و گەڕان
- Form Validationپشتڕاستکردنەوەی فۆرم
- Agent Programs, Pseudocode and Algorithm Analysisبەرنامەکانی ئەیجێنت، نیمچەکۆد و شیکارکردنی ئەلگۆریزم
- Securing Data in PHP and MySQLپاراستنی دراوە لە PHP و MySQL
- Built-in Maths Functionsکردارە ئامادەکانی بیرکاری
- HTML Forms Reviewپێداچوونەوەی فۆرمەکانی HTML
- Constants and variable scopeنەگۆڕەکان و مەودای گۆڕاوەکان
- Building a CRUD Application with PHP and MySQLدروستکردنی بەرنامەیەکی CRUD بە PHP و MySQL
- The Python You Need for the AI Labsئەو Pythonـەی بۆ تاقیگەکانی ژیریی دەستکرد پێویستە
- Programming Languages and Algorithmsزمانەکانی بەرنامەسازی و ئەلگۆریزمەکان
- Sets of Numbers: From Natural to Complexکۆمەڵەکانی ژمارە: لە ژمارە سروشتییەکانەوە تا ژمارە ئاوێتەکان
- Adding, Subtracting and Scaling Matricesکۆکردنەوە، لێدەرکردن و لێکدانی ماتریکسەکان لە ژمارە
- Return Values and Noneنرخە گەڕاوەکان و None
- Stacks: Last In, First Outستاکەکان: دوایین هاتوو، یەکەم دەرچوو
- MATLAB as a Calculator: Operators, Variables and FormatsMATLAB وەک حاسیبە: کارپێکەرەکان، گۆڕاوەکان و شێوەکانی پیشاندان
- while Loops, break and continueخولەکانی while، break و continue
- Function Files and Anonymous Functionsفایلەکانی کردار و کردارە بێناوەکان
- Browsers, Web Servers and URLsتۆڕگەڕەکان، ڕاژەکارەکانی وێب و URL
- Redirects: Sending the Browser Somewhere Elseئاڕاستەکردنەوە: ناردنی تۆڕگەڕ بۆ شوێنێکی تر
- Better SELECT Queries: Conditions, Ranges, Lists, Patterns and NULLباشترکردنی فەرمانی SELECT: مەرجەکان، ماوەکان، لیست، شێوازی دەق و NULL
- Connecting PHP to MySQLپەیوەندیکردنی PHP بە MySQL
- Project: A To-Do App with Providersپڕۆژە: ئەپێکی ئەرکەکان بە providerـەکان