An excerpt from the Lavin OOP book that I'm not sure of the meaning...
private $quality = 100;
private $imageproperties = array();
--"The assignment of a value to $quality shows that data members may
be initialized upon declaration, but they must be initialized with
constant values. You could not, for instance, invoke a PHP function
call or a method"--
Huh? Upon declaration of ThumbnailImage, is that correct??
Does it mean I can do this?
$thumb = new ThumbnailImage();
$thumb ->quality = 80;
What would invoking a PHP function call or a method, which would not
be allowed, look like?
I hope I'm not setting anyone's IQ back by asking this. =p