If you write about echo "", i.e. output of empty space, without spaces, and in general any characters, is this considered a bug / exploit / error?

    1 answer 1

    echo ""; // нормально echo; // ругается на точку с запятой 

    Conclusion: if you write an echo, at least something needs to be output. Though empty line. You can also:

     echo null; // 

    but what for? ©

    • knes, so I just need to, so I ask, you need to display an empty space that does not take up space. Here is such a paradox. :) Thanks for the answer. - nick777
    • one
      Be sure to tell us why. I demand !!! =))) - knes
    • Maybe the vehicle is looking for [flush ()] (php.net/flush)? - Ilya Pirogov
    • hardly: echo will never replace flush. - knes
    • Replaces if ob_implicit_flush is enabled in the config or explicitly or the buffer is full. But that's not the point, it’s just that a person unfamiliar with output buffering in PHP may have the illusion that echo sends something to the server for echo calls. - Ilya Pirogov