Keep scrolling down for answers and more stats ...
1.
Which of the below statements is equivalent to $num += $num
$num = $num + $num + 1;
✓
2.
Which of the below symbols is a newline character ?
3.
Which of the following function is used to locate a string within a string ?
4.
Which statement will output $x on the screen ?
5.
What will be executed from the code below?
$a = 12;
($a == 12) ? 5 : 1
6.
Which of the following function can be used to get an array in the reverse order ?
7.
Which function can be used to move the pointer to the previous array position ?
8.
If your object must inherit behavior from a number of sources you must use a/an?
9.
Which one of the following is the right way to invoke a method ?
10.
Which one of the following keyword is used to inherit our subclass into a superclass ?
11.
Which keyword allows class members (methods and properties) to be used without needing to instantiate a new instance of the class ?
12.
Which of the following statements is/are true about Constructors in PHP ?
Constructors can accept parameters.
✓
Constructors can call class methods or other functions.
✓
Class constructors can call on other constructors.
✓
13.
Which of the following method can be used to close a MySQL database using PHP ?
14.
Which of the following advanced OOP features is/are not supported by PHP ?