Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

LLMS_Hasher::mod( int $a, int $b )

Modulo function


Parameters Parameters

$a

(int) (Required) first int

$b

(int) (Required) second int


Top ↑

Return Return

(int)


Top ↑

Source Source

File: includes/class.llms.hasher.php

	private static function mod( $a, $b ) {

		// 64 bit systems
		if ( 8 === PHP_INT_SIZE ) {
			return $a % $b;
		}
		// 32 bit systems?
		return fmod( $a, $b );

	}


Top ↑

Changelog Changelog

Changelog
Version Description
3.16.10 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.