I'm learning some php right now and I'm trying to identify a best practice for using quote marks. I've decided I'll be using single quotes and concatenate variables into strings when needed.
I've now come to adding CSS class/ids into my php. When adding a class or id tag in php it works with escaping single quotes inside my single quotes OR using non-escaped paired double quotes inside the single quotes. So which is more efficient?
Example:
echo '<span class=\'big\'>This is big text</span>';
or
echo '<span class="big">This is big text</span>';