|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-05-27 10:38 UTC] aharvey@php.net
-Status: Open
+Status: Bogus
[2010-05-27 10:38 UTC] aharvey@php.net
[2010-05-27 10:42 UTC] salathe@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 01:00:02 2025 UTC |
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 ); }