Php

Asked • 05/20/19

When to use self over $this?

In PHP 5, what is the difference between using `self` and `$this`? When is each appropriate?

1 Expert Answer

By:

Rishi Raj G. answered • 09/28/24

Tutor
New to Wyzant

Computer Science - Technology/Engineering and Business Consultant

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.