4 Matching Annotations
  1. Sep 2023
  2. May 2022
    1. the former allows me to give an URL to a piece of code

      But you're not! When you wield PHP like this, there is no URL for the piece of code per se—only its (potentially fleeting) output—unless you take special care to make that piece of code available as content otherwise. PHP snippets are just as deserving of a minted identifier issued for them as, say, JS and CSS resources are—perhaps even just as deserving as the content being served up on the site, but PHP actually discourages this.

  3. Oct 2015