title: i got this error call to undefined function session_register()
body: <p>I have this code in a PHP file:</p>
  
  <pre><code>&lt;?php
  
   session_start();
   $name = "John";
   $surname ="Felley";
   session_register("name");
   session_register("surname");
  
  ?&gt;
  </code></pre>
  
  <p>And when I execute, I am getting this error: </p>
  
  <pre><code>Fatal error: Call to undefined function session_register().
  </code></pre>
  
  <p>I don't understand why.</p>