Php $_REQUEST vs $_GET and $_POST
<p>Can you please guide me which of the below code will be more efficient and fast.</p>

<pre><code>$temp = $_REQUEST['s'];
</code></pre>

<p>OR</p>

<pre><code>if (isset($_GET['s'])) {
  $temp = $_GET['s'];
}
else {
  $temp = $_POST['s'];
}
</code></pre>

<p>Thanks</p>
