Re: cvs: php4 /ext/posix posix.c

From: Date: Tue, 21 May 2002 20:19:32 +0000
Subject: Re: cvs: php4 /ext/posix posix.c
References: 1 2 3 4 5 6 7  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-12039@lists.php.net to get a copy of this message
Hi, On Tue, May 21, 2002 at 03:11:24PM -0500, Andrei Zmievski wrote : > On Tue, 21 May 2002, Andi Gutmans wrote: > > Markus was trying to do a convert_to_long() on a zval * he got from > > zend_get_parameters() which isn't allowed. He can't do a > > convert_to_long_ex() because that only works on zval **. > > Why didn't he request 'l' in the first place? It can either be a file resource (fd descriptor) or a numeric value (long, string converted to long, whatever). This was the original behaviour (though not with zend_parse_parameters) < 4.2.0 . While reworking the extension it somehow slipped through (sadly). - Markus -- Please always Cc to me when replying to me on the lists. GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc --------------------------------------------------------- "I mean "When in doubt, blame mcrypt" is more often right than wrong :)" "Always right, never wrong :)" - Two PHP developers who want to remain unnamed

« previous php.cvs (#12039) next »