markdown guide

IIRC PHP does not interpolate variables in single quotes. So the ultimate guide is:

  1. Double quotes if you "need $variables" in your string (and you don't want 'to' . 'join' . $them)
  2. Single quotes for everything else.

Well, single quotes are slightly faster than double quotes (if that matters for your script).

Classic DEV Post from Dec 18 '18

How The Hell Do I use Map?

A quick and dirty guide to map.

eLabFTW profile image
Dev of eLabFTW, a free and open source laboratory notebook.