Quote:
|
Originally Posted by qw12er
Why can't I do a Struct in PHP ?
Why can't I declare 2 classes in the same .php file ? (Works in c++)
Thanks
|
Theres no struct in PHP, as simple as that. Just make a class and do not add any functions, lol.
And yes, you can declare 2 classes in the same file.