Re: PHP4 vs PHP5 classes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> I have run through the script with a debugger, and sure
> enough, we only enter function Players once.
> 
> Is this normal behaviour for PHP5 vs PHP4?
> Is there a way for me to force $this->max to be calculated each time
> function max is called?

Since the Players method is a constructor, it's more about how you set
the object(s) up.

What does the loop look like before you create a new object?

-- 
Postgresql & php tutorials
http://www.designmagick.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux