Home  >  Q&A  >  body text

What is the effect of adding echo <pre> and echo </pre>? The result is the same as not increasing the output.

$minren = array(1,2,'哈哈');

echo ''<pre>;

var_dump($minren);

echo '</pre>';

可爱萌可爱萌2276 days ago2040

reply all(2)I'll reply

  • 盛日网络

    盛日网络2019-09-29 16:31:03

    The video makes it very clear, '<pre>' is an html code formatted array, which looks more organized and clear, but the actual content is the same

    reply
    0
  • ll

    ll2018-08-20 11:58:52

    echo ''<pre>; The code is wrong

    reply
    0
  • Cancelreply