What are the recommended resources or documentation for developers to refer to when updating PHP scripts for compatibility with PHP 7.0?

When updating PHP scripts for compatibility with PHP 7.0, developers should refer to the official PHP migration guide for detailed information on deprecated features and backward incompatible changes. Additionally, checking the PHP manual for updated functions and syntax is crucial to ensure the scripts work correctly with PHP 7.0. Utilizing tools like PHP_CodeSniffer or PHP Compatibility Checker can also help identify potential issues in the code that need to be addressed.

// Example code snippet showing how to update a PHP script for compatibility with PHP 7.0

// Before PHP 7.0
$sum = array_sum(null);

// After PHP 7.0
$sum = array_sum([]);