note 99496 added to language.references.whatdo
| From: | northhero at gmail dot com | Date: | Fri, 20 Aug 2010 06:21:47 +0000 |
| Subject: | note 99496 added to language.references.whatdo | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-171873@lists.php.net to get a copy of this message | ||
In reply to Drewseph with php4 I also got "hello hello" in your example.
So I doubt the expression values of $a = 'set' in php4 and php5 are different.
Example:
<?php
function foo(&$bar) {
$bar = "hello\n";
}
foo($unset);
echo($unset);
foo($set = "set\n");
echo($set);
?>
Output:
hello
hello
----
Server IP: 69.147.83.197
Probable Submitter: 126.112.211.154
----
Manual Page -- http://www.php.net/manual/en/language.references.whatdo.php
Edit -- https://master.php.net/note/edit/99496
Del: integrated -- https://master.php.net/note/delete/99496/integrated
Del: useless -- https://master.php.net/note/delete/99496/useless
Del: bad code -- https://master.php.net/note/delete/99496/bad+code
Del: spam -- https://master.php.net/note/delete/99496/spam
Del: non-english -- https://master.php.net/note/delete/99496/non-english
Del: in docs -- https://master.php.net/note/delete/99496/in+docs
Del: other reasons-- https://master.php.net/note/delete/99496
Reject -- https://master.php.net/note/reject/99496
Search -- https://master.php.net/manage/user-notes.php