title: bash if statement doesn't work as expected
body: <p>I'm new in bash scripting.</p>
  
  <p>I use this code:</p>
  
  <pre><code>#!/bin/bash
  count=0
  ende="100"
  while true; do
    out=$(php '/var/www/testsh.php' $count)
    if [ "$out"!=="$ende" ] 
    then
      echo "$out i break"
      break
    fi
    echo "sleeping"
    sleep 10
    ((count++))
  done
  </code></pre>
  
  <p>In my PHP: echo '100';</p>
  
  <p>./test.sh gives me:
  100 i break</p>
  
  <p>but it should output sleeping till <code>$out</code> is not 100</p>