2.4k questions

2.4k answers

99.8k users

6 Online Users
1 Member 5 Guest
Online Members
Today Visits : 3881
Yesterday Visits : 2646
Total Visits : 2578515

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
72 views
in oop php what are __get and __set magic methods ?
in General by (96.4k 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 (96.4k points)
...