Does PHP support anonymous classes?

php support anonymous classes? Please explain?

Train Asked on December 8, 2015 in PHP.
Add Comment
  • 1 Answer(s)

    Before php7 it did not support anonymous classes, but now with PHP7 yes it does support anonymous classes.

    Train Answered on December 10, 2015.
    Add Comment

    Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.