Definitionپێناسە
A collection that finds each value by a named instead of a position number: PHP's associative array ["Aram" => 22, "Hana" => 19], Dart's Map and Python's work this way. Each element is a .
کۆکراوەیەکە کە هەر نرخێک بە ناونراو دەدۆزێتەوە لە جیاتی ژمارەی شوێن: پەیوەندیداری PHP ["Aram" => 22, "Hana" => 19]، Mapـی Dart و Python بەم شێوەیە کار دەکەن. هەر دانەیەکی بریتییە لە .
Exampleنموونە
You find Hana's age by her name, not by a number.
تەمەنی هانا بە ناوەکەی دەدۆزیتەوە، نەک بە ژمارە.
$age = ["Aram" => 22, "Hana" => 19];
echo $age["Hana"]; // 19Other Kurdish renderings in useوەرگێڕانە کوردییەکانی تر
ڕیزەکی پێوەبەستراو، ڕیزەکی هاوپەیوەند، ئەڕەی پەیوەندیدار، ڕیزەکە پەیوەندیدارەکە، ڕیزەکە پەیوەندیدارەکان، ڕیزەکێکی پەیوەندیدار
Note on the Kurdish termتێبینی دەربارەی زاراوە کوردییەکە
The Latin-script notes render "associative" as pewabastraw, paywandi, hawpaywand or bastraw (پێوەبەستراو، پەیوەندی، هاوپەیوەند، بەستراو); پەیوەندیدار matches this site's chapter summary.
Related termsزاراوە پەیوەندیدارەکان
Videosڤیدیۆکان
Learn more inزیاتر فێربە لە
- Arrays in PHPڕیزەکەکان لە PHPـدا
- Sorting Arraysڕیزکردنی ڕیزەکەکان
- PHP Superglobalsسووپەرگلۆباڵەکانی PHP
- Multidimensional Arraysڕیزەکە فرەڕەهەندەکان
- Web APIs and JSONAPIـی وێب و JSON
- Course review and practiceپێداچوونەوە و ڕاهێنانی کۆرسەکە
- Cookiesکووکییەکان
- Connecting PHP to MySQLپەیوەندیکردنی PHP بە MySQL
- Building a CRUD Application with PHP and MySQLدروستکردنی بەرنامەیەکی CRUD بە PHP و MySQL
- Loops: while, do...while, for, foreach, break and continueخولەکان: while و do...while و for و foreach و break و continue
- Sessionsسێشنەکان
- Uploading Filesبارکردنی فایل
- Securing Data in PHP and MySQLپاراستنی دراوە لە PHP و MySQL
- A Login System with Sessionsسیستەمی چوونەژوورەوە بە سێشن
- Dart Functions and Collectionsکردارەکان و کۆکراوەکانی Dart
- The Python You Need for the AI Labsئەو Pythonـەی بۆ تاقیگەکانی ژیریی دەستکرد پێویستە
- Tuples, Sets and Dictionariesتاپڵەکان، کۆمەڵەکان و فەرهەنگەکان
- Form Handling with GET and POSTمامەڵەکردن لەگەڵ فۆرم بە GET و POST
- Inserting and selecting data with PHPزیادکردن و هەڵبژاردنی زانیاری بە PHP