常量

结构体(记录)

<?php

//PHP 中没有结构体      
class BoldLine {
    const lineWidth = 10;
}

$width = BoldLine::lineWidth;
//width is 10
echo $width;