php案例:判断奇偶数(三元运算符)

简介: php案例:判断奇偶数(三元运算符)

cyg.php


<?php
$a=22;
echo $a%2==0?"偶数":"奇数";





相关文章
|
2月前
|
PHP
PHP运算符
PHP运算符
19 0
|
4月前
|
网络协议 PHP