摘要:
<?php/** * Created by PhpStorm. * User: DELL * Date: 2018/4/9 * Time: 22:24 */echo '圆周率的3种书写方法:<P>';echo '第一种: pi() = '. pi() .'<p>'; //调用 pi()函数输出圆周率 阅读全文
摘要:
<?php/** * Created by PhpStorm. * User: DELL * Date: 2018/4/9 * Time: 22:13 */$str1 = 1234567890; //声明一个十进制的整数$str2 = 0x1234567890; //声明一个十六进制的整数$str3 阅读全文
摘要:
<?php/** * Created by PhpStorm. * User: DELL * Date: 2018/4/9 * Time: 20:57 */$boo = true; //声明一个boolean 类型变量,赋初值为trueif($boo == true) //判断变量$boo 是否为真 阅读全文