title: Do PHP array keys need to we wrapped in quotes?
body: <p>Which one below is correct?  First code has no quotes in the $_GET array and the second one does, I know you are supposed to have them when it is a string of text but in this case it is a variable, also what about if the key is a number?</p>
  
  <p>no quotes</p>
  
  <pre><code>function arg_p($name, $default = null) {
    return (isset($_GET[$name])) ? $_GET[$name] : $default;
  }
  </code></pre>
  
  <p>with quotes</p>
  
  <pre><code>function arg_p($name, $default = null) {
    return (isset($_GET['$name'])) ? $_GET['$name'] : $default;
  }
  </code></pre>