Definitionپێناسە
The code that creates a function: a name, in ( ) and a body — def name(...): with an indented body in Python, function name(...) { ... } in PHP. Python must run the definition before the function is called; PHP usually allows calling it earlier in the same file.
ئەو کۆدەیە کە دروست دەکات: ناوێک، لەناو ( ) و جەستەیەک: لە Pythonـدا def name(...): و جەستەیەکی بۆشاییدار، لە PHPـدا function name(...) { ... }. لە Pythonـدا دەبێت ناساندنەکە پێش بانگکردن جێبەجێ ببێت؛ PHP زۆرجار ڕێگە دەدات لە هەمان فایلدا پێشتر بانگ بکرێت.
Exampleنموونە
The definition is at the bottom, yet the call works.
ناساندنەکە لە خوارەوەیە، کەچی بانگکردنەکە کار دەکات.
echo twice(4); // 8
function twice($n) {
return $n * 2;
}Other Kurdish renderings in useوەرگێڕانە کوردییەکانی تر
پێناسەکردنی کردار، ناساندنی کردارەکە، ناساندنەکانی کردار، ناساندنێکی کردار
Note on the Kurdish termتێبینی دەربارەی زاراوە کوردییەکە
The notes use ناساندن for defining or declaring variables, arrays and functions.