Prev Question
Next Question

Which of the following statements about anonymous functions in PHP are NOT true?
(Choose 2)

Anonymous functions can be bound to objects

Anonymous functions created within object context are always bound to that object

Assigning closure to a property of an object binds it to that object

Methods bind() and bindTo() of the Closure object provide means to create closures with
different binding and scope

Binding defines the value of $this and the scope for a closure

Prev Question
Next Question

Leave a Reply

Your email address will not be published. Required fields are marked *