لغة PHP — الصفحة ٨١

الدوال Functions File Edit View http://localhost/test/p030 - Microsof. EI Favorites Tools Help Back Stop Refresh Home Address http://localhost/test/p030 Go Links Sum = 53 Done Local intranet الفصل الرابع النتيجة لاحظ أن جملة echo sa لن تطبع نتيجة لأن المتغير محلى في الدالة ()Test <?php Function SumNo ($n1, $n2) { $s=$n1+$n2; Return $s; } Print "Sum of 17,12= ".SumNo (17,12); Print "<BR> Sum of 15, 21 = ".SumNo(15,21); ?> http://localhost/test/p031 - Microsoft I: File Edit View Favorites Tools Help Back Address Stop Refresh Home http://localhost/test/p031 Sum of 17,12=29 Sum of 15, 21 = 36 Go Links! ۸۱ Done Local intrahet مثال :
ص ٨١

النص مستخرج آليًّا من صور الكتاب، وقد يقع فيه خطأ.