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

WBOY
Release: 2016-07-29 08:54:21
Original
1074 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:
source:php.cn
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template