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

Definitionپێناسە

The two positions of ++ or --. Prefix (++$i) changes the variable first and then gives the new value; postfix ($i++) gives the old value first and then changes the variable.

دوو شوێنی ++ یان --ـن. لە شێوەی پێشگردا (++$i) سەرەتا دەگۆڕێت و پاشان نرخە نوێیەکە دەدات؛ لە شێوەی پاشگردا ($i++) سەرەتا نرخە کۆنەکە دەدات و پاشان دەگۆڕێت.

Exampleنموونە

Postfix prints the old value; prefix prints the new one.

پاشگر نرخە کۆنەکە دەنووسێت؛ پێشگر نرخە نوێیەکە.

$a = 5;
echo $a++; // 5 (then $a becomes 6)
echo ++$a; // 7

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

پێش و پاش

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

پێشگر and پاشگر are the Kurdish grammar words for prefix and suffix; the notes use پاشگر for a file extension.

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

Videosڤیدیۆکان

PHP Operators Part 2 - Full PHP 8 TutorialProgram With Gio · Englishئینگلیزی · 61K viewsبینین · 2.1K likesلایک · Partبەشی 1:26–3:17 (ofلە 16:13)

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