Hi,

How can I within my PHP_FUNCTION() test if a given parameter was
passed ByReference ? There used to hang around
ParameterPassedByReference() which is gone now.

I know I can tell functions via PHP_FE(foo, {1, BYREF_FORCE) etc.
if they need references but I need to make a parameter optionally
being passed by reference (depending on a value from another
paramter). Is using PZVAL_IS_REF( *arg1) on zval **arg1 the proper
way ?


The other thing .. how can I add -lpthread to libaries when I
build the linux CGI version ? Currently its catched in aclocal.m4
and not added to the library list and I only can overcome this my
issuing LDFLAGS="-lpthread" make; why this ?


kind regards,
        Markus

-- 
Markus Fischer,  http://guru.josefine.at/~mfischer/
EMail:         [EMAIL PROTECTED]
PGP Public  Key: http://guru.josefine.at/~mfischer/C2272BD0.asc
PGP Fingerprint: D3B0 DD4F E12B F911 3CE1  C2B5 D674 B445 C227 2BD0

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to