Dear,
I would like to count how many times a class has been instantiated, i tried to declared a class variable as static (as C++ allowed) but the PHP 4.05 parser report me parse error.
As i know, PHP support static variable in function but how come cannot in class?
Does anyone tell me how to solve my problem?
Thank you.
regards,
William Ng