Un motore di ricerca WordPress per sviluppatori e autori di temi



absint ›

Da2.5.0
Deprecaton/a
absint ( $maybeint )
Parametri:
  • (mixed) $maybeint Data you wish to have converted to a non-negative integer.
    Richiesto:
Ritorna:
  • (int) A non-negative integer.
Definito a:
Codex:

Convert a value to non-negative integer.



Sorgenti

function absint( $maybeint ) {
	return abs( intval( $maybeint ) );
}