Errors in functions.php after installing 5.16.2 on Drupal 7
You will need to upgrade php version to 7.x. also check your apache/nginx and cli are using 7.x version of php

See https://docs.civicrm.org/sysadmin/en/latest/requirements/#php-version