![]() |
Struct in PHP ?
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 |
1. Why not just use arrays ?
2. You can. Don't close and re-open php blocks between class declarations though (<?php ... ?>). |
Quote:
And yes, you can declare 2 classes in the same file. |
| All times are GMT -7. The time now is 09:02 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123