title: Parse a JavaScript file through PHP
body: <p>I have a JavaScript file where I would like to include some php code.
  The problem is that I have a few defines on PHP that I would like to use on JS as well.</p>
  
  <p>Is there any way of including a .js file in HTML allowing the server to first interpret it (before downloading to the client) using php?</p>
  
  <p>Thanks :)</p>