Which one of the following is true about the following line – $obj = new ImageHandler(‘/images/’, array(400, 300));?
(a) This snippet sets the maximum dimensions allowed to 400 pixels wide by 300 pixels high
(b) This snippet sets the minimum dimensions allowed to 300 pixels wide by 400 pixels high
(c) This snippet sets the minimum dimensions allowed to 400 pixels wide by 300 pixels high
(d) This snippet sets the maximum dimensions allowed to 300 pixels wide by 400 pixels high
The question was posed to me by my school principal while I was bunking the class.
My question is taken from Image Uploading Ability topic in portion Objects and Databases in PHP of PHP