What common syntax errors can occur when performing mathematical calculations in PHP?

Common syntax errors when performing mathematical calculations in PHP include missing semicolons at the end of lines, incorrect variable names, and using incorrect operators. To solve these issues, ensure that all lines of code end with a semicolon, double-check variable names for typos, and use the correct mathematical operators (+ for addition, - for subtraction, * for multiplication, / for division). Example:

// Incorrect syntax - missing semicolon and incorrect operator
$num1 = 10
$num2 = 5
$result = $num1 + $num2;

// Corrected syntax
$num1 = 10;
$num2 = 5;
$result = $num1 + $num2;