In php, can both and. be used as connectors?
某年某月某日
某年某月某日 2017-10-24 09:58:57
0
1
977

I watched Teacher Zhu’s introductory video today and found that sometimes I use echo key($arr).'=>'.current($arr).'<br>'; Sometimes I use echo key($arr) , '=>', current($arr), '<br>';, can all be parsed normally. Do the "." and "." here all function as connectors?

某年某月某日
某年某月某日

reply all(1)
路过

The string concatenation character in php is "."

echo can output multiple values ​​separated by ","

  • reply Thank you, God! They are both echo statements. Are the above two ways of writing legal? Is there a difference?
    某年某月某日 author 2017-10-24 12:24:28
  • reply Which one is better to use that is more standardized?
    某年某月某日 author 2017-10-24 12:24:49
  • reply Reply to a certain day of a certain year and a certain month: All are legal, otherwise an error will be reported. Don’t worry about it. Direct output is rarely used in real projects.
    路过 author 2017-10-24 16:57:42
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template