Doc #51927 [Opn->Bgs]: Missing documentation of function

From: Date: Thu, 27 May 2010 08:38:12 +0000
Subject: Doc #51927 [Opn->Bgs]: Missing documentation of function
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-4458@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: aharvey@php.net Reported by: jonaso at web dot de Summary: Missing documentation of function -Status: Open +Status: Bogus Type: Documentation Problem Package: Documentation problem PHP Version: Irrelevant New Comment: absint is not a built-in PHP function. Previous Comments: ------------------------------------------------------------------------ [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

« previous php.doc.bugs (#4458) next »