How to implement permission validation in a simple way in PHP?
<p>I'm new to PHP. In JavaEE, a interceptor can be used to simplify the permission validation. After you implement and configure the interceptor, the validation will be automatically run before business logic. Is there a simple way to implement this function in PHP?</p>
