Jump to content
Larry Ullman's Book Forums

bijan

Members
  • Posts

    2
  • Joined

  • Last visited

bijan's Achievements

Newbie

Newbie (1/14)

1

Reputation

  1. Thanks Edward , but that static array should be a member of the class or declared out of the class?
  2. 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!
×
×
  • Create New...