What is the potential issue with the IF statement in the PHP code snippet provided?

The potential issue with the IF statement in the provided PHP code snippet is that the comparison operator is using a single equal sign (=) instead of a double equal sign (==) for comparison. In PHP, a single equal sign is used for assignment, not for comparison. To fix this issue, the comparison operator should be changed to a double equal sign.

// Potential issue with the IF statement:
if ($status = 'active') {
    echo "Status is active";
}

// Corrected IF statement:
if ($status == 'active') {
    echo "Status is active";
}