Q.1
Which function is used to determine whether the variable’s value is either TRUE or FALSE?
Q.2
Constructor and destructor methods have no . . . . . . and are called automatically - they cannot be called explicitly and consequently their declarations need no access specifier. 
Q.3
Unlike constructors, you cannot pass information to a destructor, because you are never sure when its going to be run.
Q.4
You can invoke class constructors that don’t have any relation to the instantiated object by simply prefacing _constructor with the class name like.
Q.5
 . . . . . . is a class which can only be instantiated once. You can effectively only have one object per . . . . . class in an application.
Q.6
Even if you don’t delete the object yourself using . . . . . , PHP still calls the destructor when it determines that the object is no longer used.
Q.7
Which of the below is most useful for debugging:
Q.8
What is the value of message?
$name = “John”;
$message = ‘Hello, $name’;
Q.9
The result of below statements will be:
$str = ""Hello fri3nd, you're
 feeling          happy today?”;
echo str_word_count($str);
Q.10
PHP recognises constructors by the name . . . . .
Q.11
In . . . . . constructors, it is important to remember that you have to call the parent constructor explicitly.
Q.12
When you extend a class, the subclass inherits all of the ........ methods from the parent class.
Q.13
The pseudo-variable ...... is available inside any class method when that method is called from within an object context.
Q.14
PHP strings are binary-safe (i.e. they can contain null bytes) . Their size is limited only by the amount of memory that is available to PHP.
Q.15
A class may contain its own .............
Q.16
What is the output of below statement?
Print substr (‘watch out for that tree’,20,5);
Q.17
What is the value of var?
$var = 'HELLO WORLD!';
$var = ucfirst($var);
Q.18
PHP makes it possible to automatically execute code when a new instance of a class is created, using a special class method called a ........ 
Q.19
Child classes are defined using the keyword .....
Q.20
In PHP, the difference between double quote and single quote is that variables . . . . in single quoted strings whereas they . . . . . in double quoted strings.
Q.21
The functions strtolower() and strtoupper() work on individual characters and not on entire strings.
Q.22
Heredoc's are a great alternative to quoted strings because of increased readability and maintainability.
Q.23
Once a class has been defined, objects can be created from the class with the ....... keyword.
Q.24
The visibility of a property or method can be defined by prefixing the declaration with the keywords public, protected or private. Class members declared public can be accessed everywhere. Members declared protected can be accessed only within the class itself and by inherited classes. Members declared as private are not accessible.
Q.25
All PHP classes come with a default constructor that takes .... arguments.
Q.26
You access an object’s properties and methods using the ....... operator ( a hyphen followed by a greater than symbol).
Q.27
A bidirectional relationship in class diagrams is described by________
Q.28
# is the visibility code for?
Q.29
Which one of the following is displayed in the third section of the class diagram?
Q.30
Inheritance in class diagrams is depicted by________
0 h : 0 m : 1 s