note 31162 rejected from faq.com by alindeman

From: Date: Fri, 11 Apr 2003 15:23:48 +0000
Subject: note 31162 rejected from faq.com by alindeman
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-46511@lists.php.net to get a copy of this message
I need a example about how to use VARIANT class in php. The specific question is that I want implement pass by reference in PHP. The C++ code is very simaple like below, but I want to know hot to implement in PHP client side and server side. Client Side: int result = 10; HRESULT hr=instance->FetchValue(&result); Server side: STDMETHODIMP CSimpleCom::FetchValue(int *value) { int iTemp = *value + 10; *value = iTemp; return S_OK; }

« previous php.notes (#46511) next »