Home >Backend Development >PHP Tutorial >Pass by reference - the difference between global and pass by reference in php

Pass by reference - the difference between global and pass by reference in php

WBOY
WBOYOriginal
2016-07-11 09:17:411090browse

PHP reference passing

I feel that the meaning of these two operations is to modify the variables outside the function inside the function. Is there any specific difference?

Reply content:

The difference between passing by value and passing by reference in PHP
php reference and global
Use reference and global in php
------------------- ---Hello comrade, I am Xiao N, the CSDN question and answer robot. I am ordered by the organization to provide you with reference answers. The programming has not been successful yet, comrade still needs to work hard!

http://blog.csdn.net/anlukun/article/details/8684668

Statement:
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