Eclipse for PHP Developers Version: Oxygen Release (4.7.0) Build id: 20170620-1800
How can I change the PHP Language Library
to PHP 7 (see screen below)
You also might configure installed PHPs: Window > Properties: PHP > Installed PHPs
See also PHP help: PHP Interpreter Properties