Warning: Unsupported declare 'strict_types' in C:\Apache24\htdocs\drupal\vendor\guzzlehttp\promises\src\RejectionException.php on line 3

Parse error: syntax error, unexpected '?', expecting '&' or variable (T_VARIABLE) in C:\Apache24\htdocs\drupal\vendor\guzzlehttp\promises\src\RejectionException.php on line 21