Wampserver not changing the PHP version
When you switch from 5.6.25 to 7.0.10 using the WAMPServer server tray icon it only updates the version of PHP used under Apache.
It does not have any effect on the version of PHP used in the PHP CLI (Command Line Interface).
The simplest way to control the version of PHP used by the CLI is to write a little batch file that will add the correct folder temporarily to the windows PATH for the duration of the command windows existance.
See this answer for how to do that.
NOTE: Avoid adding the php folder to the Windows PATH permanantly. As when you want to use a different version of PHP in the CLI you will forget to amend this, and a batch file like suggested in the other answer is so much more flexible.
UPDATE
As of WAMPServer 3.1.1 there is now a menu item that will change the PHP CLI version to any version of PHP that you have installed as an ADDON.
(right click) wampmanager->Tools->Change PHP CLI Version
BUT
This only changes the version of PHP that the WAMPServer code will use when running its internal PHP based processes. It does not change the PHP CLI version
The version in your terminal and the version wamp is using may be different.
In a wamp project create a PHP file and put this in it.
<?php
phpinfo();
?>
Go to the URL of the PHP file in your browser and that will show you the PHP version the apache server in wamp is using. You can change it using this tutorial. Changing PHP version in wamp
Good luck!