New course! Every coder should learn Generative AI!
Try a free lesson0
If you use double quote you can use PHP variables inside them, thus uaing double quote can be slightly alower than single.
Example.
<?php
$name = "test";
echo "my name is $name"; // outputs with test
echo 'my name is $name'; //doesnt output test