TWINS FUNCTION IN PHP
During a test, I was faced with this problem of checking if two strings are twins. I couldn't finish the problem in time so I decided to write it as short as possible in php.
Run the script
I use php 8.1 but the script work on php 7.
cd gitdirectory
Usage
php twins.php
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.