title: JavaScript file line breaks with PHP
body: <p>I'm working on a PHP script that compiles a JavaScript framework. Right now I'm using the following code to create line breaks in JavaScript files, but I'm guessing there is a better way to do this?</p>
  
  <pre><code>// Line break, can this be written better?
  $line_break = '
  
  ';
  
  // Get JavaScript files
  $js_file_core = file_get_contents('js/core.js', true);
  $js_file_timers = file_get_contents('js/timers.js', true);
  
  // Add a line break between files and combine them
  $compiled_js = $js_file_core . $line_break . $js_file_timers;
  </code></pre>