What are some common causes of syntax errors in PHP code, as seen in the provided example?

Common causes of syntax errors in PHP code include missing semicolons at the end of lines, mismatched parentheses or curly braces, misspelled keywords or variable names, and using incorrect operators. Example:

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

To fix this issue, simply add a semicolon at the end of the `$name` assignment line:
```php
// Corrected code with added semicolon
$name = "Alice";
echo "Hello, $name!";