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; // 7Other 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.