2.4k questions

2.4k answers

95.5k users

4 Online Users
0 Member 4 Guest
Today Visits : 2265
Yesterday Visits : 2785
Total Visits : 2343013

Categories

Notice

Dear All, These are my answers from Quora and primarily Google; please check the answer and from others sites; the answers are free and without any liability.To make a decision, write down all of the positives and negatives on a piece of paper.Thank you,

Elias Katsaniotis, MSc

Information

Viktoria Katsanioti,

Kaliningrad,

Russia,

matizegr@yahoo.com

0 votes
58 views
in oop php what are __get and __set magic methods ?
in General by (95.8k points)

1 Answer

0 votes
PHP calls the __get() method automatically when you access a non-existing or inaccessible property. PHP calls the __set() method automatically when you assign a value to a non-existing or inaccessible property.
by (95.8k points)
...