5 ms·
Regardless of speed, I tend to use single quotes for keys and double quotes for text. E.g. 'key' => "Hello world" Sometimes text needs escape characters such
by pan69 14y ago
Regardless of speed, I tend to use single quotes for keys and double quotes for text. E.g.
'key' => "Hello world"
Sometimes text needs escape characters such as \n or you want to include a variable. Double quotes just make that easier.