|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
|
|
#1
|
|||
|
|||
|
What does &$ mean when together?
What does &$ mean when together in the below example?
fsockopen($server, 25, &$errno, &$errstr, $timeout) Thanks in advanced, - CBronson |
|
#2
|
|||
|
|||
|
RE: What does &$ mean when together?
Means that those values are passed by reference. That means that you are passing the "memory address" of the variable, not the value. In the scope of things, this means that the original passed variable can be modified by the function. Normally variables are passed by value and the function can only modify its own local copy...
|
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Coding > What does &$ mean when together? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|