search

Home  >  Q&A  >  body text

Usage of return

What is the specific usage of return?

意外意外2110 days ago1205

reply all(2)I'll reply

  • 风之翼灵

    风之翼灵2019-03-20 10:41:39

    return is the return value, but the function in which it is located stops after return returns the value.

    and print_r are similar to return values, but they will continue to run after returning values ​​and will not stop.

    reply
    0
  • Cancelreply