...
/Quiz: Using the $this Keyword for Chaining Methods and Properties
Quiz: Using the $this Keyword for Chaining Methods and Properties
Test your understanding of the $this keyword in PHP.
We'll cover the following...
Let’s practice what we have just learned
1
Which keyword can be used to approach class properties and methods from within the class?
A)
The new
keyword.
B)
The class
keyword.
C)
The $this
keyword.
Question 1 of 60 attempted