1. Glossaryفەرهەنگی زاراوەکان
Reference
ئاماژە
Proposed Kurdish term — under reviewزاراوەی پێشنیارکراو — لە ژێر پێداچوونەوەدایە

Definitionپێناسە

A second name that points to the same value or object. In PHP $b = &$a; makes one; in Python every name is a reference, so after list2 = list1 both names show the same list and a change through one is seen through the other.

ناوێکی دووەمە کە ئاماژە بە هەمان نرخ یان ئۆبجێکت دەکات. لە PHPـدا $b = &$a; دروستی دەکات؛ لە Pythonـدا هەموو ناوێک ئاماژەیە، بۆیە دوای list2 = list1 هەردوو ناو هەمان لیست پیشان دەدەن و گۆڕانکاری لە ڕێگەی یەکێکیانەوە لە ئەویتریشدا دەبینرێت.

Exampleنموونە

Changing $b also changed $a.

کاتێک $b گۆڕا، $a لەگەڵیدا گۆڕا.

$a = 1;
$b = &$a;
$b = 7;
echo $a; // 7

Other Kurdish renderings in useوەرگێڕانە کوردییەکانی تر

ڕیفرێنس، ئاماژەکە، ئاماژەکان، ئاماژەیەک، ئاماژەی، ئاماژەکانی

Note on the Kurdish termتێبینی دەربارەی زاراوە کوردییەکە

Barzinji's dictionary gives سەرچاوە، ناونیشانی مەرج for 'reference' in general (سەرچاوە is this registry's word for 'resource').

Related termsزاراوە پەیوەندیدارەکان

Videosڤیدیۆکان

Python Quick Tip: The Difference Between "==" and "is" (Equality vs Identity)Corey Schafer · Englishئینگلیزی · 129K viewsبینین · 4.4K likesلایک · Partبەشی 5:37–8:51 (ofلە 8:51)
PHP Function Parameters - Named Arguments - Variadic Functions & Unpacking - Full PHP 8 TutorialProgram With Gio · Englishئینگلیزی · 61K viewsبینین · 2.7K likesلایک · Partبەشی 3:01–4:00 (ofلە 12:05)
Your Lists Are Being Copied WRONG In Python (Shallow Copy VS. Deep Copy)Indently · Englishئینگلیزی · 28K viewsبینین · 1.2K likesلایک · Partبەشی 0:00–1:31 (ofلە 6:44)

Learn more inزیاتر فێربە لە