note 79318 added to language.references
| From: | gtatrealvertexdotcom at osu1 dot php dot net | Date: | Tue, 20 Nov 2007 18:53:31 +0000 |
| Subject: | note 79318 added to language.references | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-132440@lists.php.net to get a copy of this message | ||
As warnickr at gmail dot com says you need a double pointer in C to point two variables point to the
same thing within a function... so is there any way to do this in PHP 4.x?
I.e. is it possible at all to duplicate the behavior of the C code?
int baz = 5;
int* bar;
void foo(int** var)
{
*var = &baz;
}
foo(&bar);
----
Server IP: 69.147.83.197
Probable Submitter: 63.228.221.132
----
Manual Page -- http://www.php.net/manual/en/language.references.php
Edit -- https://master.php.net/note/edit/79318
Del: integrated -- https://master.php.net/note/delete/79318/integrated
Del: useless -- https://master.php.net/note/delete/79318/useless
Del: bad code -- https://master.php.net/note/delete/79318/bad+code
Del: spam -- https://master.php.net/note/delete/79318/spam
Del: non-english -- https://master.php.net/note/delete/79318/non-english
Del: in docs -- https://master.php.net/note/delete/79318/in+docs
Del: other reasons-- https://master.php.net/note/delete/79318
Reject -- https://master.php.net/note/reject/79318
Search -- https://master.php.net/manage/user-notes.php