From e071c49558ef61c5d93807c9b9b9deaeaacd000a Mon Sep 17 00:00:00 2001 From: Jeroen van Wolffelaar Date: Fri, 21 Sep 2001 23:49:31 +0000 Subject: [PATCH] Better aliasing of variable functions, now according to README, which is much more clear (also visible on the category-contents page, with link to the real thing). git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@58001 c90b9560-bf6c-de11-be94-00142212c4b1 --- appendices/aliases.xml | 7 ++- functions/var.xml | 128 ++++++++--------------------------------- 2 files changed, 30 insertions(+), 105 deletions(-) diff --git a/appendices/aliases.xml b/appendices/aliases.xml index d57779ff49..827b6f06ef 100755 --- a/appendices/aliases.xml +++ b/appendices/aliases.xml @@ -1,5 +1,5 @@ - + Aliases list @@ -58,6 +58,11 @@ getdir Base syntax + + doubleval + floatval + Base syntax + show_source highlight_file diff --git a/functions/var.xml b/functions/var.xml index df7986e22b..62d1dbbba8 100644 --- a/functions/var.xml +++ b/functions/var.xml @@ -1,5 +1,5 @@ - + Variable Functions Variables @@ -354,9 +354,7 @@ echo get_resource_type($doc->doc)."\n"; is_float, is_int, is_integer, - is_real, - is_string, - is_long, and + is_string, and is_object. @@ -386,13 +384,12 @@ echo get_resource_type($doc->doc)."\n"; a boolean. - See also is_array, + See also + is_array, is_float, is_int, is_integer, - is_real, - is_string, - is_long, and + is_string, and is_object. @@ -401,29 +398,12 @@ echo get_resource_type($doc->doc)."\n"; is_double - Finds whether a variable is a double + Alias of is_float Description - - - bool is_double - mixed var - - - This function is a deprecate alias for is_float. - - - See also is_array, - is_bool, - is_float, - is_int, - is_integer, - is_real, - is_string, - is_long, and - is_object. + This function is an alias of is_float. @@ -448,13 +428,11 @@ echo get_resource_type($doc->doc)."\n"; See also is_bool, - is_real, is_int, is_integer, is_string, - is_object, is_array, and - is_long. + is_object, @@ -473,17 +451,16 @@ echo get_resource_type($doc->doc)."\n"; - This function is an alias for is_long. + Returns &true; if var is an integer + &false; otherwise. See also is_bool, is_float, is_integer, is_string, - is_real, - is_object, is_array, and - is_long. + is_object. @@ -491,60 +468,25 @@ echo get_resource_type($doc->doc)."\n"; is_integer - Find whether a variable is an integer + Alias of is_float Description - - - bool is_integer - mixed var - - - - This function is an alias for - is_long. - - - See also is_bool, - is_float, - is_int, - is_string, - is_real, - is_object, - is_array, and - is_long. - + + This function is an alias of is_int. + is_long - Finds whether a variable is an integer + Alias of is_float Description - - - bool is_long - mixed var - - - Returns &true; if var is an integer - (long), - &false; otherwise. - - - See also is_bool, - is_float, - is_int, - is_real, - is_string, - is_object, - is_array, and - is_integer. + This function is an alias of is_int. @@ -565,19 +507,17 @@ echo get_resource_type($doc->doc)."\n"; - Returns &true; if var is null, - &false; otherwise. + Returns &true; if var is null, + &false; otherwise. See also is_bool, is_numeric, is_float, is_int, - is_real, is_string, is_object, is_array, and - is_integer. @@ -606,7 +546,6 @@ echo get_resource_type($doc->doc)."\n"; See also is_bool, is_float, is_int, - is_real, is_string, is_object, is_array, and @@ -634,11 +573,9 @@ echo get_resource_type($doc->doc)."\n"; See also is_bool, - is_long, is_int, is_integer, is_float, - is_real, is_string, and is_array. @@ -647,30 +584,14 @@ echo get_resource_type($doc->doc)."\n"; - is_real - Finds whether a variable is a real + doubleval + Alias of is_float Description - - - bool is_real - mixed var - - - - This function is an alias for is_double. - - - See also is_bool, - is_long, - is_int, - is_integer, - is_float, - is_object, - is_string, and - is_array. - + + This function is an alias of is_float. + @@ -811,7 +732,6 @@ show_var($proteins) See also is_bool, - is_long, is_int, is_integer, is_float,