title: Magento 2: Deprecated Functionality: Function ReflectionType::__toString() is deprecated
body: <p>so I tried to execute the command 'php bin/magento setup:upgrade', but got the following error, even though everything worked fine in the morning:</p>
  
  <pre><code>Deprecated Functionality: Function ReflectionType::__toString() is deprecated in /usr/www/users/dlbbve/magento2/vendor/zendframework/zend-code/src/Reflection/ParameterReflection.php on line 85
  </code></pre>
  
  <p>After googling I found out that apparently the PHP v7.4 doesn't fully support M2 and I have to lower the PHP version to 7.3. I checked my php version in terminal and got 
  'PHP 7.4.2 (cli)'. So I looked up my servers PHP setting and it should be set to 7.3.
  And when I used the 'phpinfo()' command in a php file I got the PHP version 7.3 something back. </p>
  
  <p>My question is why are there different PHP versions? What can have caused it.</p>
  
  <p>Best regards</p>