1
0
Fork 0
php-coding/3.work1.php

11 lines
263 B
PHP

<?php
$input_content = "12345678901234567890123456";
function check($input): void
{
if (is_numeric($input) && strlen($input) <= 25 && !is_null($input))
echo "数据符合要求";
else
echo "数据不符合要求";
}
check($input_content);