search

Home  >  Q&A  >  body text

Why doesn't mine report an error?

//Only scalars can be used. I used an array later. Just learn it and you will get an error.

define('BIAO',array(1,2,3) );

echo BIAO; ---Result:Array

zlzl1984 days ago1171

reply all(2)I'll reply

  • 秋香姐家的小书童

    秋香姐家的小书童2019-07-27 10:00:29

    echo cannot print array

    reply
    0
  • 殘留の回憶

    殘留の回憶2019-07-25 11:10:13

    php7会报notice错 Notice: Array to string conversion in E:\phpstudyv8\WWW\a.php on line 4 Array

    reply
    1
  • Cancelreply