لغة PHP — الصفحة ١٣٥

الدوال Functions http://localhost/test/myprog/p082 - Micro.... File Edit View Favorites Tools Help Back Stop Refresh Home Go Links Address http://localhost/test/myprog/p0 562 89 1 Done Local intranet الفصل الرابع تستخدم الدالة is_array لمعرفة ما إذا كان المتغير مصفوفة ، وتعود بقيمة True عندما يكون المتغير مصفوفة ، مثال : <? $fruits array ("Apple", " Orange", "Mango"); if (is_array($fruits)) { Print ("Variable is Array"); } $f = 12.56; if (is_array($f)) { Print ("Variable is Array"); } else { $b=gettype ($f) ; echo "<BR> Type is : $b"; ?> 170
ص ١٣٥

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