I learned something today:

  1. console.log does not work in PHP – as I had expected.
  2. console.log does not throw a PHP error.

Guess who looked through their code wanting to output something for testing purposes and it just didn’t output anything… (Hint: This guy!)