<?php//PHP 中没有结构体 class BoldLine { const lineWidth = 10;}$width = BoldLine::lineWidth;//width is 10echo $width;