How to tackle "parse error: syntax error, unexpected t_variable" in php?

Example:

$value =
This error typically arises when there's a syntax mistake, such as a missing semicolon or curly brace.

Solution:

$value = "some value";

Beginner's Guide to PHP