TypePHP 编译器 https://swoole.com/aot/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

16 lines
544 B

<?php
function ctypeDirectCalls(mixed $char): bool
{
$result = ctype_alnum($char);
$result = ctype_alpha($char) && $result;
$result = ctype_cntrl($char) && $result;
$result = ctype_digit($char) && $result;
$result = ctype_lower($char) && $result;
$result = ctype_graph($char) && $result;
$result = ctype_print($char) && $result;
$result = ctype_punct($char) && $result;
$result = ctype_space($char) && $result;
$result = ctype_upper($char) && $result;
return ctype_xdigit(text: $char) && $result;
}