Accessing private properties in PHP
Private properties can only be accessed by the class that defines the property… right? Actually, PHP has a few ways to circumvent this: reflection, closures and array casting.
Post #398
26.1K
- 👍 21
- ❤ 1
- 👎 1