ScotlandPHP 2019


Please answer this simple SPAM challenge: one minus one?
(Example: nine)

The Note You're Voting On

alexander at gamerev dot org
4 years ago
Simply put, here's an example of what referencing IS:

= 5;
$bar = &$foo;

The above example will output the value 6, because $bar references the value of $foo, therefore, when changing $bar's value, you also change $foo's value too.

<< Back to user notes page

To Top