title: Update Check with PHP
body: <p>I'm working on an update system that checks a remote file string </p>
  
  <pre><code>$local = simplexml_load_file(root_p.'/version.xml');
  $remote = simplexml_load_file("mygithuburltoblob/version.xml");
  if($local-&gt;build == $remote-&gt;build) {
  } else {
      echo "Version ".$remote-&gt;version." Available now";
  }
  </code></pre>
  
  <p>But even if the build numbers match it still returns that the update is available. Does anyone know why that would be?
  (Yes root_p is already defined, the problem isn't loading and retrieving the values)
  Remote Var Dump</p>
  
  <pre><code>object(SimpleXMLElement)#12 (6) { ["title"]=&gt; string(11) "Loopy Cubix" ["author"]=&gt; string(12) "Morgan Green" ["version"]=&gt; string(3) "1.0" ["build"]=&gt; string(4) "1111" ["type"]=&gt; string(5) "Alpha" ["feed"]=&gt; object(SimpleXMLElement)#15 (0) { } } 
  </code></pre>
  
  <p>Local Var Dump</p>
  
  <pre><code>object(SimpleXMLElement)#11 (6) { ["title"]=&gt; string(24) "Looped Cubix Pre Release" ["author"]=&gt; string(12) "Morgan Green" ["version"]=&gt; string(3) "1.0" ["build"]=&gt; string(4) "1111" ["type"]=&gt; string(6) "Closed" ["feed"]=&gt; object(SimpleXMLElement)#15 (0) { } }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/rUeXj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rUeXj.png" alt="enter image description here"></a></p>
  
  <p>On the top of the page is my output from</p>
  
  <pre><code>                &lt;?php
                  $local = simplexml_load_file(root_p.'/version.xml');
                  $remote = simplexml_load_file("https://raw.githubusercontent.com/Doxramos/Invontrol/master/version.xml");
  
                  echo "Local: ". gettype($local-&gt;build);
                  foreach($local-&gt;build as $build) {
                      echo $build. "&lt;br /&gt;";
                  }
                  echo "Remote: ". gettype($remote-&gt;build);
                  foreach($remote-&gt;build as $build) {
                      echo $build. "&lt;br /&gt;";
                  }
  </code></pre>
  
  <p>Shows both as an object with the same value.</p>