الدوال Functions
هل المتغير مضاعف
هل المتغير بعلامة عشرية
هل المتغير عدد صحيح
هل المتغير رقم أم نص
هل المتغير كائن
هل المتغير حقيقي
هل المتغير مورد
هل المتغير نص
هل المتغير معد
طباعة قيم
توليد تمثيل لقيمة
إعداد نوع متغير
قيمة نص المتغير
إلغاء إعداد متغير
إلغاء معلومات متغير
الفصل الرابع
is double
Is variable double
is float
Is variable float
is int
is integer
Is variable integer
is long
is numeric
Is variable number or a numeric string
is object
Is variable object
is real
Is variable real
is resource
Is variable resource
is string
Is variable string
isset
Is variable is set
print r
Prints variable readable
information
serialize
Generates a
storable
representation of a value
settype
Set type of variable
strval
Get string value of a variable
unset
Unset a given variable
var dump
Dumps information about
a variable
تستخدم الدالة doubleval التحويل متغير إلى نوع رقمى مضاعف الدقة ، مثال :
النتيجة : 733.641
۱۳۲
<?
$v1= '733.641 Computer speed' ; ·
$dv1= doubleval ($v1) ;
Print $dv1;
?>
ص ١٣٢