Last active
January 5, 2016 14:34
-
-
Save dana-ross/e98efe9ff6b5204cadf1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Convert a value to non-negative integer. | |
* | |
* @since 2.5.0 | |
* | |
* @param mixed $maybeint Data you wish to have converted to a non-negative integer. | |
* @return int A non-negative integer. | |
*/ | |
$absint = compose( 'abs', 'intval' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment