Why does it enter in the if-statement if $content != "[]?