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

الفصل الرابع if (!isset($var2)) { // evaluates false echo '$var2 is not set at all'; } print "<BR>"; //isset -- Determine whether a variable is set $a = "test"; echo isset($a); // true unset ($a); print "<BR>"; echo isset($a); // false // print_r -- Prints readable information about a variable $a = array (1, 2, array ("a", "b", "c")); Print "<PRE>"; print_r($a); Print "</PRE>"; ?> الدوال Functions http://localhost/test/myprog/p086 - Microsoft Int. Eile Edit vantes Tools Help Back Address Forward Stop Refresh Home Search http://localhost/test/myprog/p086 Unks " 122.34343 $var2 is either O or not set at all 1 Array ( [0] => 1 [1] => 2 [2] => Array ( [0] => A [1] -> b [2] => C Done Localintranet ۱۳۸
ص ١٣٨

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