MAMP takes only two highest versions of the PHP in the following folder
/Application/MAMP/bin/php
As you can see here highest versions are 7.0.10 and 5.6.25
![MAMP php Versions 7.0.10 and 5.6.25](https://i.stack.imgur.com/IBxK5.png)
Now 7.0.10 version is removed and as you can see highest two versions are
5.6.25 and 5.5.38 as shown in preferences![php versions 5.6.25 and 5.5.38](https://i.stack.imgur.com/1eU1z.png)