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视频教程
Copyright © 2019- obuygou.com 版权所有 赣ICP备2024042798号-5
违法及侵权请联系:TEL:199 18 7713 E-MAIL:2724546146@qq.com
本站由北京市万商天勤律师事务所王兴未律师提供法律服务