<?php
$s_level=rand(1,6);
echo $s_level.'<br/>';
switch(true){
case $s_level<3 :
echo 'less than 3';
break;
case $s_level>5 :
echo 'more than 5';
break;
default :
echo 'ok';
}
?>

相关文章:

  • 2021-09-17
  • 2021-09-17
  • 2021-09-17
  • 2021-07-12
  • 2022-12-23
  • 2021-11-11
  • 2021-11-11
猜你喜欢
  • 2021-11-11
  • 2021-09-13
  • 2021-10-19
  • 2021-10-14
  • 2021-09-17
  • 2021-09-17
相关资源
相似解决方案