HEX
Server: LiteSpeed
System: Linux php-prod-1.spaceapp.ru 5.15.0-157-generic #167-Ubuntu SMP Wed Sep 17 21:35:53 UTC 2025 x86_64
User: sport3497 (1034)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //usr/local/CyberCP/public/snappymail/snappymail/v/2.38.2/app/libraries/polyfill/ctype.php
<?php

if (!function_exists('ctype_digit')) {
	function ctype_digit(string $text): bool
	{
		$l = \strlen($text);
		return $l && $l === \strspn($text, '0123456789');
	}
}

if (!function_exists('ctype_alpha')) {
	function ctype_alpha(string $text): bool
	{
		$l = \strlen($text);
		return $l && $l === \strspn($text, 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz');
	}
}