<?php
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
//变量
$a=10;
$b=5;
echo $a+$b;
//常量
const THE_ZHH=100;
const TTTT=50;
const EEE=20;
echo EEE;
echo '<br/>';
echo TTTT;
echo '<br/>';
echo THE_ZHH;
//常量
define("THE_VALUE", 200);
echo '<br/>';
echo THE_VALUE;
PHP基础----02常量与变量
最新推荐文章于 2022-03-29 21:09:16 发布