From 75a1a31dc097f349058c8ac42a7b2e2d0f675f3e Mon Sep 17 00:00:00 2001 From: Christoph Michael Becker Date: Mon, 23 Nov 2020 01:59:21 +0000 Subject: [PATCH] Fix #80401: Inaccurate documentation on gettype (for Integer) We also fix the markup (this is not about types, but rather about literal strings), and use a more appropriate ``. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351521 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/var/functions/gettype.xml | 90 +++++++++++------------------ 1 file changed, 35 insertions(+), 55 deletions(-) diff --git a/reference/var/functions/gettype.xml b/reference/var/functions/gettype.xml index 9ba07761ab..23744fc596 100644 --- a/reference/var/functions/gettype.xml +++ b/reference/var/functions/gettype.xml @@ -38,63 +38,43 @@ &reftitle.returnvalues; Possible values for the returned string are: - - - - "bool" - - - - - "int" - - - - - "double" (for historical reasons "double" is - returned in case of a float, and not simply - "float") - - - - - "string" - - - - - "array" - - - - - "object" - - - - - "resource" - - - - - "resource (closed)" as of PHP 7.2.0 - - - - - "NULL" - - - - - "unknown type" - - - + + + "boolean" + + + "integer" + + + "double" (for historical reasons "double" is + returned in case of a float, and not simply + "float") + + + "string" + + + "array" + + + "object" + + + "resource" + + + "resource (closed)" as of PHP 7.2.0 + + + "NULL" + + + "unknown type" + + - + &reftitle.examples;