Interview with dating gurus pdf
19) What are the functions to be used to get the image’s properties (size, width and height)?
The functions are getimagesize() for size, imagesx() for width and imagesy() for height.
18) What is the use of the function ‘imagetypes()’?
The set_time_limit(0) added at the beginning of a script sets to infinite the time of execution to not have the PHP error ‘maximum execution time exceeded’. 25) What does the PHP error ‘Parse error in PHP – unexpected T_variable at line x’ means?require() and require_once() perform the same task except that the second function checks if the PHP script is already included or not before executing it.(same for include_once() and include()) 22) How can I display text with a PHP script?PHP 5 presents many additional OOP (Object Oriented Programming) features. PHP includes only single inheritance, it means that a class can be extended from only one single class using the keyword ‘extended’.12) What is the meaning of a final class and a final method? Final class means that this class cannot be extended and a final method cannot be overrided. We use the operator ‘==’ to test is two object are instanced from the same class and have same attributes and equal values.