The most important upgrade in PHP 7 is speed. In benchmarked tests, PHP 7 has been demonstrated to be at least twice as fast as the previous version of PHP, version 5.6. PHP 7 also includes enhancements to error handling, variable type declarations, a more secure random number generator, limited Unicode support, and a new spaceship operator that can be used to test for the relationship between two values.