
php定义结构体的三种方式
1、第一种方式
struct Student
{
int age;
float score;
char sex;
};2、第二种方式
struct Student
{
int age;
float score;
char sex;
}st;3、第三种方式
struct
{
int age;
float score;
char sex;
}st;推荐教程:PHP视频教程
立即学习“PHP免费学习笔记(深入)”;











