Hello, my name is $name.
Hello, my name is Vangthy.

Explanation

In PHP, single quotes treat text exactly as it is and do not replace variables. Double quotes allow variables and special characters like new lines to be read inside the string. This means double quotes are more flexible, but single quotes can be faster because PHP does not look for variables. Knowing when to use each helps you write cleaner and more efficient code.