This small example displays how to bypass the access properties within PHP. It shows that you can access any private or protected property within any PHP object from anywhere.
To view the result, open Web/index.php
in your browser. All logic takes place inside
\SebastiaanDeJonge\PhpAccessBypassExample\Utility\AccessUtility
.
- PHP 7.x
- Apache2 / Nginx
- Composer
Simply run the following command from the project root.
composer install