adplus-dvertising
frame-decoration

Question

Which one of the following method is invoked when a value is assigned to an undefined property?

a.

__get()

b.

__set()

c.

__isset()

d.

__call()

Posted under PHP

Answer: (b).__set()

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which one of the following method is invoked when a value is assigned to an undefined property?

Similar Questions

Discover Related MCQs

Q. Which one of the following method is invoked when an undefined method is called by client code?

Q. Which method introduced in PHP 5, is invoked just before an object is garbage collected?

Q. __clone() is run on the ___ object.

Q. Which method is invoked when an undefined property is accessed ?

Q. Which one of the following statements should be used to include a file?

Q. Which one of the following methods is responsible for sending the query to the database?

Q. Which one of the following methods recuperates any memory consumed by a result set?

Q. Which of the methods are used to manage result sets using both associative and indexed arrays?

Q. Which one of the following method is used to retrieve the number of rows affected by an INSERT, UPDATE, or DELETE query?

Q. Which version of MySQL introduced the prepared statements?

Q. Which of the following methods is used to execute the statement after the parameters have been bound?

Q. Which one of the following methods is used to recuperating prepared statements resources?

Q. Which method retrieves each row from the prepared statement result and assigns the fields to the bound results?

Q. Which method rolls back the present transaction?

Q. When you are building administrative links you’ll need to accept two arguments, which of the following are they?

Q. Once your application can generate administrative links, you need to load those links into _________

Q. The URLs in the administrative links won’t mean anything to admin.php unless you modify _________

Q. The (|/) tells the server to match ___________

Q. ([\w-]+) will match ___________

Q. You need to check whether ______ is set, to determine whether you’re editing an entry or creating a new one.