In PHP there is a difference:
$var='text';
'$var' → $var
"$var" → text
In some other languages:
'c' → single char
"string" → multiple chars
and in Python?
In PHP there is a difference:
$var='text';
'$var' → $var
"$var" → text
In some other languages:
'c' → single char
"string" → multiple chars
and in Python?
There is no difference whatsoever, it is just a style preference.