bijan replied to bijan's topic in PHP 5 Advanced: Visual QuickPro Guide (2nd Edition)Thanks Edward , but that static array should be a member of the class or declared out of the class?
hi using a static counter variable in a class lets us to count the number of objects created so far is there a way to to access all Live objects instantiated from a class.(not just the number of them but the names of them !) i want to write a simple code for a human class . and in its __construct method i want that object to say hello to all previously created objects!