File "wfHelperString.php"

Full Path: /var/www/bvnghean.vn/save_bvnghean.vn/wp-content/plugins/wordfence/lib/wfHelperString.php
File size: 323 bytes
MIME-type: text/x-php
Charset: utf-8

<?php


class wfHelperString {

	/**
	 * cycle through arguments
	 *
	 * @return mixed
	 */
	public static function cycle() {
		static $counter = 0;
		$args = func_get_args();
		if (empty($args)) {
			$counter = 0;
			return null;
		}
		$return_val = $args[$counter % count($args)];
		$counter++;
		return $return_val;
	}
}