By Reference variables in modules.

From: Date: Thu, 23 Nov 2000 11:45:57 +0000
Subject: By Reference variables in modules.
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-38988@lists.php.net to get a copy of this message
What is the proper way of changing a argument that has been sent by reference? In my function I have the new value in another string. Can I change the arguments str.val to point there and just update the length? (Freeing the old area). Or should I realloc the arguments memarea and copy the result there? - Gustaf Björklund - Euroseek.com

« previous php.dev (#38988) next »