Question
a.
PHP 4
b.
PHP 5
c.
PHP 5.3
d.
PHP 5.4
Posted under PHP
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Prior to which version of PHP did constructors took the name of the enclosing class.
Similar Questions
Discover Related MCQs
Q. Which method or property can only be accessed from within the enclosing class? Even subclasses have no access.
View solution
Q. A mutator method is also called as..
View solution
Q. Before you can start processing images with PHP, you must first add the ability to upload images to your administrative form on ________
View solution
Q. When you’re uploading files you need to set the enctype of the form to __________
View solution
Q. To check whether a file was uploaded, you look in the _______ superglobal array.
View solution
Q. To make the ImageHandler class portable you should create a separate file for it called __________
View solution
Q. DocBlocks are indicated by opening a comment using _________
View solution
Q. To process the file, you need to break the array from $_FILES into individual values. You can do this using the ________ function.
View solution
Q. Before you try to process the file, you need to make sure that your $err value is equivalent to _________
View solution
Q. You use the $_SERVER superglobal and your _______ property to create your path to check.
View solution
Q. Which function do you have to use to check whether the $path you’ve stored exists?
View solution
Q. Which one of the following is true about the following line –
$obj = new ImageHandler(‘/images/’, array(400, 300));
View solution
Q. Which version of PHP introduced the static keyword?
View solution
Q. Which keyword is used to access a static method or property from within the same class(rather than from child)?
View solution
Q. In which of the following circumstance should you use a static reference to a non static method?
View solution
Q. Which one of the following variable cannot be used inside a static method?
View solution
Q. What does PDO stand for?
View solution
Q. Which version of PHP allows you to define constant properties within a class?
View solution
Q. Which keyword is used to declare a constant property?
View solution
Q. Which one of the following is a constant variable?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond PHP? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!