title: Unable to compare two variables
body: <p>I am reading an xml file using php, after reading those files i am accessing some values and comparing them here is the code for that:</p>
  
  <pre><code>$home = $match -&gt; home -&gt; name; 
  $away = $match -&gt; away -&gt; name; 
  $homescore = $match -&gt; home -&gt; shoots; 
  $awayscore = $match -&gt; away -&gt; shoots;
  if($home == 'Lakers' || $away == 'Lakers') {
      $played = $played+1;
      if($home == 'Lakers') {
          echo $homescore;
          echo $awayscore;
          if($homescore &gt; $awayscore) {
              echo 'hi';
          }
      }
  }
  </code></pre>
  
  <p>As it can be seen from the code above, i am reading in the name and shoots of a team. When i execute this the returned result is <code>63</code>. Now 6 is the <code>$homescore</code> 3 is the <code>$awayscore</code>. Based on these values i am expecting that it should also print <code>hi</code>. But for some reason i am not getting the desired output.</p>
  
  <p>Anyone able to see if i am doing something wrong here? </p>