diff --git a/functions/var.xml b/functions/var.xml index 4479b6e5f5..63d89caa9e 100644 --- a/functions/var.xml +++ b/functions/var.xml @@ -216,27 +216,38 @@ if (!isset($var)) { // evaluates false - - is_bool - - Finds out whether a variable is a boolean - + + is_bool + + Finds out whether a variable is a boolean + - Description - - int - is_bool - - mixed - var - - - - Returns true if the var parameter is - a boolean. - - + Description + + int + is_bool + + mixed + var + + + + Returns true if the var parameter is + a boolean. + + + See also is_array, + is_double, + is_float, + is_int, + is_integer, + is_real, + is_string, + is_long, and + is_object. + + @@ -256,6 +267,7 @@ if (!isset($var)) { // evaluates false See also is_array, + is_bool, is_float, is_int, is_integer, @@ -283,6 +295,7 @@ if (!isset($var)) { // evaluates false See also is_double, + is_bool, is_real, is_int, is_integer, @@ -309,7 +322,8 @@ if (!isset($var)) { // evaluates false This function is an alias for is_long. - See also is_double, + See also is_bool, + is_double, is_float, is_integer, is_string, @@ -337,7 +351,8 @@ if (!isset($var)) { // evaluates false is_long. - See also is_double, + See also is_bool, + is_double, is_float, is_int, is_string, @@ -365,7 +380,8 @@ if (!isset($var)) { // evaluates false false otherwise. - See also is_double, + See also is_bool, + is_double, is_float, is_int, is_real, @@ -393,7 +409,8 @@ if (!isset($var)) { // evaluates false numeric string, false otherwise. - See also is_double, + See also is_bool, + is_double, is_float, is_int, is_real, @@ -421,7 +438,8 @@ if (!isset($var)) { // evaluates false otherwise. - See also is_long, + See also is_bool, + is_long, is_int, is_integer, is_float, @@ -448,7 +466,8 @@ if (!isset($var)) { // evaluates false This function is an alias for is_double. - See also is_long, + See also is_bool, + is_long, is_int, is_integer, is_float, @@ -461,28 +480,34 @@ if (!isset($var)) { // evaluates false - - is_resource - - Finds whether a variable is a resource - - - - Description - - int - is_resource - - mixed - var - - - - The is_resource returns true if the variable - given by the var parameter is a resource, otherwise - it returns false. - - + + is_resource + + Finds whether a variable is a resource + + + + Description + + int + is_resource + + mixed + var + + + + is_resource returns true if the variable + given by the var parameter is a resource, + otherwise it returns false. + + + Resources are things like file or database result handles that + are allocated and freed by internal PHP functions and that may + need some cleanup when they are no longer in use but haven't been + freed by user code. + + @@ -501,7 +526,8 @@ if (!isset($var)) { // evaluates false false otherwise. - See also is_long, + See also is_bool, + is_long, is_int, is_integer, is_float, @@ -513,30 +539,6 @@ if (!isset($var)) { // evaluates false - - - is_writable - - Finds out whether or not you can write to a file - - - - Description - - int - is_writable - - mixed - filename - - - - The is_writable function returns true if the file pointed - to by the filename parameter can be written to. - - - - isset