Hello,
I found this keyword written everywhere I read about classes, which is __construct.
Is it a built-in method or keyword? What does it do?

There's another one, which is __clone.
What is it too?
If they're not built-in, then why are they always preceded by 2 underscores?
Thank you.

Yes, that's it. Thanks a lot.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.