Is there an equivilent function to foreach that will access all the variables and there values from a class object?
Just beginning to teach myself OOP and wanted a quick way to test a class.Code:<?pseudocode: $da= new calenderDate; foreach ($da as ...){do whatever} /pseudocode?>



Reply With Quote

Bookmarks