Doc #51927 [Bgs]: Missing documentation of function
| From: | salathe@php.net | Date: | Thu, 27 May 2010 08:42:16 +0000 |
| Subject: | Doc #51927 [Bgs]: Missing documentation of function | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-4459@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=51927&edit=1
ID: 51927
Updated by: salathe@php.net
Reported by: jonaso at web dot de
Summary: Missing documentation of function
Status: Bogus
Type: Documentation Problem
Package: Documentation problem
PHP Version: Irrelevant
New Comment:
The absint function is defined in the Wordpress code (see wp-
includes/functions.php).
Previous Comments:
------------------------------------------------------------------------
[2010-05-27 10:38:09] aharvey@php.net
absint is not a built-in PHP function.
------------------------------------------------------------------------
[2010-05-27 10:35:28] jonaso at web dot de
Description:
------------
In the wordpress code, I found a function called absint().
It is not documented in the php manual.
Test script:
---------------
function add_image_size( $name, $width = 0, $height = 0, $crop = FALSE )
{
global $_wp_additional_image_sizes;
$_wp_additional_image_sizes[$name] = array( 'width' => absint( $width
), 'height' => absint( $height ), 'crop' => !!$crop );
}
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=51927&edit=1