Home > Backend Development > PHP Tutorial > 0407 study notes--return exercise return to innocence return 0 k return of kings

0407 study notes--return exercise return to innocence return 0 k return of kings

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-07-29 08:54:21
Original
1131 people have browsed it
Today I learned the "return" return value in php
What I probably learned is that
inside the function, echo output is not used
but when the result is returned
the result is to package the file and store it in the .rar package
so call the function function directly ( ); When
and the value of the result cannot be intercepted
you need to use echo function (); to output
and when the result is output inside the function
you can directly call the result
function ();

* outside the function The above one-level functions and two-level functions are applicable

------------------------------------------------ -------------------------------------------------- ----

A newbie can only understand so much at his current level

The above introduces the 0407 study notes-return exercise, including return content. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
Return value problem
From 1970-01-01 08:00:00
0
0
0
Return JSON response via PHP
From 1970-01-01 08:00:00
0
0
0
Usage of return
From 1970-01-01 08:00:00
0
0
0
Why not return data in json format?
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template