search

Home  >  Q&A  >  body text

array

//There are two ways to define an array

$shu = array (1,5,1.1,'I am a string');

echo '<pre>; ; //Output HTML code, which means line breaks to make the page more beautiful

//The output subscript starts from 0, such as: array(5){

[0]=>

int(1) //The first character of the output array is an integer number 1

}

缘分缘分1980 days ago1110

reply all(2)I'll reply

  • 金麟张少

    金麟张少2019-08-07 11:38:57

    Has my IQ dropped so much? I actually can't see that this is a problem.

    reply
    0
  • 盛日网络

    It should be notes, but the code is still wrong.

    盛日网络 · 2019-09-29 16:33:07
  • Cancelreply