Do you want to learn AST? Try new Learn and Play page

Run Rector on your code to see what it can do for you:

PHP snippet to change
Config  rector.php
Rector version: 6f3881 - released at 2024-07-21 05:28