Current File : /home/bdmcricketindia.in/public_html/wp-includes/Requests/src/Utility/InputValidator.php
<?php
/**
 * Input validation utilities.
 *
 * @package Requests\Utilities
 */

namespace WpOrg\Requests\Utility;

use ArrayAccess;
use CurlHandle;
use Traversable;

/**
 * Input validation utilities.
 *
 * @package Requests\Utilities
 */
final class InputValidator {

	/**
	 * Verify that a received input parameter is of type string or is "stringable".
	 *
	 * @param mixed $input Input parameter to verify.
	 *
	 * @return bool
	 */
	public static function is_string_or_stringable($input) {
		return is_string($input) || self::is_stringable_object($input);
	}

	/**
	 * Verify whether a received input parameter is usable as an integer array key.
	 *
	 * @param mixed $input Input parameter to verify.
	 *
	 * @return bool
	 */
	public static function is_numeric_array_key($input) {
		if (is_int($input)) {
			return true;
		}

		if (!is_string($input)) {
			return false;
		}

		return (bool) preg_match('`^-?[0-9]+$`', $input);
	}

	/**
	 * Verify whether a received input parameter is "stringable".
	 *
	 * @param mixed $input Input parameter to verify.
	 *
	 * @return bool
	 */
	public static function is_stringable_object($input) {
		return is_object($input) && method_exists($input, '__toString');
	}

	/**
	 * Verify whether a received input parameter is _accessible as if it were an array_.
	 *
	 * @param mixed $input Input parameter to verify.
	 *
	 * @return bool
	 */
	public static function has_array_access($input) {
		return is_array($input) || $input instanceof ArrayAccess;
	}

	/**
	 * Verify whether a received input parameter is "iterable".
	 *
	 * @internal The PHP native `is_iterable()` function was only introduced in PHP 7.1
	 * and this library still supports PHP 5.6.
	 *
	 * @param mixed $input Input parameter to verify.
	 *
	 * @return bool
	 */
	public static function is_iterable($input) {
		return is_array($input) || $input instanceof Traversable;
	}

	/**
	 * Verify whether a received input parameter is a Curl handle.
	 *
	 * The PHP Curl extension worked with resources prior to PHP 8.0 and with
	 * an instance of the `CurlHandle` class since PHP 8.0.
	 * {@link https://www.php.net/manual/en/migration80.incompatible.php#migration80.incompatible.resource2object}
	 *
	 * @param mixed $input Input parameter to verify.
	 *
	 * @return bool
	 */
	public static function is_curl_handle($input) {
		if (is_resource($input)) {
			return get_resource_type($input) === 'curl';
		}

		if (is_object($input)) {
			return $input instanceof CurlHandle;
		}

		return false;
	}
}
BDM Cricket India: tips, teams, tournaments

Recent Posts

Игровые Автоматы Демо: Играть Бесплатно никаких Регистрации Прямо только

Демо Слоты желающим Играйте Онлайн без Регистрации И Депозита Content Приветственные Бонусы Для Слотов лучшие Бонусы почему Не Запускается Демо Слота В Казино только Начать Играть в Демо Игровые Автоматы Играть Бесплатно а Казино С Игровыми Автоматами В Демо Версии Популярные В белоруссии Демо Слоты Игровые Автоматы – Играйте Бесплатно, …

Read More »

Mostbet Brasil: Web-site Oficial, Inscrição, Bônus 15 000r$ Entrar

Mostbet ᐉ Bônus De Boas-vindas R$5555 ᐉ Oficial Mostbet On Line Casino Br Content Quem É To Dono Do Mostbet? Os Bons Jogos Do Mostbet Casino Jogo De Pôquer Como Produzir O Mostbet Login? Como Instalar To Aplicativo Para Dispositivos Móveis No Mostbet? Aceite Operating System Bônus Mostbet Agora Apostas …

Read More »

Mostbet Brasil: Web-site Oficial, Inscrição, Bônus 15 000r$ Entrar

Mostbet ᐉ Bônus De Boas-vindas R$5555 ᐉ Oficial Mostbet On Line Casino Br Content Quem É To Dono Do Mostbet? Os Bons Jogos Do Mostbet Casino Jogo De Pôquer Como Produzir O Mostbet Login? Como Instalar To Aplicativo Para Dispositivos Móveis No Mostbet? Aceite Operating System Bônus Mostbet Agora Apostas …

Read More »

“Los Buscadores Oficial Casa De Apuestas Y Online Casino

Apuestas Deportivas Online Casino Online Content Partidos” “seleccionados Mejores Casas De Apuestas Durante México Otros Productos Disponibles En Betwinner México Resultados Durante Vivo ¿cuál Fue La Mejor Odaie De Apuestas De México? ✅ Apostar En Betwinner Aprende Con Decenas De Guías De Apuestas Apuestas En Esports Mejores Bonos De Apuestas …

Read More »

CASHlib Casinos in Deutschland – Was bieten sie?

CASHlib Casinos gewinnen in Deutschland immer mehr an Bedeutung. Diese Casinos ermöglichen es Spielern, anonym und sicher mit Prepaid-Guthaben zu bezahlen – ganz ohne Bankverbindung oder Kreditkarte. Besonders für Nutzer, die auf Datenschutz und schnelle Transaktionen Wert legen, sind sie eine interessante Alternative.

Was bieten CASHlib Casinos?

  • Schnelle und anonyme Einzahlungen ohne Registrierung bei Drittanbietern
  • Breites Spielangebot von Slots bis zu Live-Dealer-Spielen
  • Regelmäßige Aktionen wie Freispiele und Cashback
  • Attraktive Willkommensboni für neue Spieler
  • EU-lizenzierte Anbieter mit hohen Sicherheitsstandards

Ein großer Vorteil von CASHlib ist, dass keine sensiblen Bankdaten im Casino hinterlegt werden müssen. Die Gutscheine sind online oder in vielen Verkaufsstellen erhältlich und können sofort verwendet werden. Dadurch entfällt auch die Notwendigkeit, persönliche Daten bei Einzahlungen preiszugeben – ein echter Pluspunkt für sicherheitsbewusste Spieler.

Viele spielothekgermany.com/de/spielothek/cashlib-casinos/ bieten zudem mobile Kompatibilität, einfache Menüführung und professionellen Spielerschutz. Wer nach einem unkomplizierten Zahlungsweg mit solider Auswahl an Spielen und Bonusangeboten sucht, wird bei diesen Plattformen fündig. Die Kombination aus Bequemlichkeit, Sicherheit und einem attraktiven Bonusangebot macht CASHlib Casinos zu einer beliebten Wahl für deutsche Nutzer.

slot 7