What common syntax errors can lead to unexpected errors in PHP scripts, as seen in the provided code snippet?

Common syntax errors that can lead to unexpected errors in PHP scripts include missing semicolons at the end of statements, mismatched quotes in strings, and missing parentheses or curly braces. To solve these issues, carefully review the code for any missing or mismatched syntax elements and correct them accordingly. Example code snippet with a missing semicolon:

// Incorrect code with missing semicolon
$name = "Alice"
echo "Hello, $name!";
```

Corrected code snippet:

```php
// Corrected code with added semicolon
$name = "Alice";
echo "Hello, $name!";