hi all I need to understand PHP __SET and __GET functions with more explanatons
i read before but i dont understand
pls help me
i will your responses
thanks for attentions

Recommended Answers

All 4 Replies

You can use them to get/set properties on objects, without the need of declaring them. Of course you need to store them somewhere, but you are free to choose your preferred method. See the examples on php.net.

thank you very much
can you show me it in a example?

thank you

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.