title: Using a variable as an operator
body: <p>So I have something like the following:</p>
  
  <pre><code>$a = 3;
  $b = 4;
  $c = 5;
  $d = 6;
  </code></pre>
  
  <p>and I run a comparison like</p>
  
  <pre><code>if($a&gt;$b || $c&gt;$d) { echo 'yes'; };
  </code></pre>
  
  <p>That all works just fine.  Is it possible to use a variable in place of the operator?
  Something like:</p>
  
  <pre><code>$e = ||;
  </code></pre>
  
  <p>Which I could then use as</p>
  
  <pre><code>if($a&gt;$b $e $c&gt;$d) { echo 'yes'; };
  </code></pre>