WePay Interview Question: What is the difference betwee... | Glassdoor

Interview Question

Engineering Interview Palo Alto, CA

What is the difference between inheritance in PHP vs

  . Javascript?
javascript, php

Interview Answer

1 Answer


In PHP, inheritance occurs within the Class, whereas in Javascript, inheritance occurs within the Object.

Interview Candidate on Oct 8, 2011

Add Answers or Comments

To comment on this, Sign In or Sign Up.