title: Passing PHP array into a Javascript array without AJAX or JQuery?
body: <h2>I have a bunch of parallel arrays in php</h2>
  
  <pre><code>$phoneNums = array();
  $minutesUsed = array();
  $plans = array();
  $charges = array();
  </code></pre>
  
  <hr>
  
  <p>and I'm trying to put them in arrays in JS so I can access them and print values into the page</p>
  
  <pre><code>var phoneNums = &lt;?php echo $phoneNums ?&gt;;
  var minutesUsed = &lt;?php echo $minutesUsed ?&gt;;
  var plans = &lt;?php echo $plans ?&gt;;
  var charge = &lt;?php echo $charges ?&gt;;
  </code></pre>
  
  <p>What ends up happening is my values end up as undefined. How would I pass an array from php to js  this without using AJAX or JQuery?</p>