note 40680 rejected from language.references.arent by betz

From: Date: Thu, 11 Mar 2004 10:40:55 +0000
Subject: note 40680 rejected from language.references.arent by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-66614@lists.php.net to get a copy of this message
Note Submitter: JiriKrivanek@BetaControl.cz ---- I am a C/C++ programmer but PHP newbie. So how about reference to reference? In C/C++ I would normally write: int a = 99, b = 100; void foo( int **ca, int **cb ) { *ca = &a; *cb = &b; } int main() { int *aa; int *bb; foo( &aa, &bb ); printf( "a = %d, b = %d", *aa, *bb ); } Is there any ekquivalent in PHP (other than that "array" one)?

« previous php.notes (#66614) next »