What resources or documentation can be helpful for resolving syntax errors in PHP scripts?

When encountering syntax errors in PHP scripts, it is helpful to refer to the official PHP documentation or online resources for guidance. These resources often provide explanations of common syntax errors and offer solutions to resolve them. Additionally, using an integrated development environment (IDE) with syntax highlighting and error checking features can help identify and correct syntax errors in real-time.

// Example PHP code snippet with a syntax error
$name = "John"
echo "Hello, $name!";
```

To fix the syntax error in the code snippet above, add a semicolon at the end of the variable assignment statement:

```php
// Corrected PHP code snippet
$name = "John";
echo "Hello, $name!";