新手有问题求大大们指点一下
其实应该很简单的问题
就是一个变量
$mac != 1 and 2 and 3 and 4 and 5
$mac == 1 or 2 or 3 or 4 or 5
就是两种假设情况,$mac不等于1到5时 ....
$mac等于1或者2或者3或者4 或者5时....
但是这个要怎么表达呢?
------解决方案--------------------
!in_array($mac,array(1,2,3,4,5));
in_array($mac,array(1,2,3,4,5));
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号