Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 743127
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T08:49:37+00:00 2026-05-14T08:49:37+00:00

What are the consequences of implementing the same interface through two different routes in

  • 0

What are the consequences of implementing the same interface through two different routes in PHP, are there any?

What I mean, is something like this:

interface baseInterface {}

abstract class baseClass implements baseInterface { }

interface myInterface extends baseInterface {}

class myClass extends baseClass implements myInterface {}

In this case myClass implements baseInterface from two different parents – myInterface and baseClass. Are there any consequences to this? My instinct is that PHP should handle this fine, but I just want to make sure. What exactly does PHP do in this case? Does it just check to see that the necessary functions are implemented for the interface each time it discovers it and call it a day or does it do something more?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T08:49:37+00:00Added an answer on May 14, 2026 at 8:49 am

    That will all work fine. You’ll still have to keep them all straight in your head and documentation though 🙂

    In other words, there are no technical concerns.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Are there any consequences if I installed Drupal into the /drupal directory, and then
Are there any performance or other consequences for setting an object for key in
Are there any direct consequences of toggling between Unicode , MBCS , and Not
Are there any consequences to not declaring variables at the start of the class
I'm wondering what / if any consequences there are in having unused functions in
What are the consequences, (if any) not calling the conn.logoff() method after the following
I'm nitpicking, I know. But when implementing the IConvertible interface on a structure that
Android Market has been renamed to Google Play. What, if any, consequences will the
There are two methodologies to defining environment variables on Windows. I have seen examples
This question is about trying to understand the security risks involved in implementing oauth

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.