[PHP-DEV] CVS Account Request: radzaw

2004-06-25 Thread Radoslaw Zawartko
I would like to translate Pear manual to Polish (PL) language, and I want to make it available to anyone via pear website, so I need cvs access to peardoc. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Input Filters - Bugs? - PHP4 Port

2004-06-25 Thread Stefan Esser
Hi, am I correct in assuming that input_filters are allowed todo whatever they want with the value? I am asking, because this is not properly documented and atleast the mbstring extension violates this. First of all it feeds input_filter a value pointer that is NOT allocated with emalloc and s

RE: [PHP-DEV] Re: keyword arguments?

2004-06-25 Thread Daniel Crookston
I was actually asking which part of the PHP code I'd want to modify. I haven't been able to find an overview of what all the different files are for - possibly I'm just not looking in the right place. Does such an overview exist that I could read over? Secondly, I'm not suggesting a fork - I

[PHP-DEV] Re: Binary Shift: Signed or Unsigned?

2004-06-25 Thread Christian Schneider
Alex Stapleton wrote: I am using PHP5, if I want unsigned binary shift, do i have any options other than converting to a string using base_convert and You could use BC: bcdiv($a, 2); to do $a >> 1; - Chris -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.ph

[PHP-DEV] Binary Shift: Signed or Unsigned?

2004-06-25 Thread Alex Stapleton
Are << and >> signed or not? E.g. is 1100 >> 1 = 1110 or 0110? I am using PHP5, if I want unsigned binary shift, do i have any options other than converting to a string using base_convert and writing my own function to shift the bits and then convert back to a number? Is what i am after planned

Re: [PHP-DEV] Re: throwing exceptions in __autoload

2004-06-25 Thread Robert Janeczek
> most cases, there aren't very good reasons to throw exceptions from it. How > come you can't declare the class when __autoload() is called but you can do > so later? In such a weird situation, you could declare a proxy object with > the same name which relays all calls to the real class if/when y

Re: [PHP-DEV] Re: keyword arguments?

2004-06-25 Thread Andi Gutmans
I think the disadvantages of named arguments outweigh the advantages. It adds to the languages complexity with a construct which will probably not be used that often, and which is likely to impact parameter binding performance. I do think that in these kind of cases, where you really do require

[PHP-DEV] expected behavior of call_user_function()

2004-06-25 Thread sumoraigabe-php
Is it expected that call_user_function() will free up memory allocated to the function name and argument array? = -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [PATCH] apache2handler memory leak fix

2004-06-25 Thread Edin Kadribasic
Thanks. The patch is committed to both php4 and php5. Edin On Friday 25 June 2004 13:39, Joe Orton wrote: > [resend, see followup to old thread for patch to HEAD] > > It's simpler to just use the ap_r* interfaces in the the handler SAPI > for 2.0, this improves network usage by allowing httpd to

[PHP-DEV] [PATCH] apache2handler memory leak fix

2004-06-25 Thread Joe Orton
[resend, see followup to old thread for patch to HEAD] It's simpler to just use the ap_r* interfaces in the the handler SAPI for 2.0, this improves network usage by allowing httpd to buffer as necessary, and fixes a bug where ub_write is unnecessarily pmemdup'ing the string (it could have used a t

[PHP-DEV] reentrancy in date/time functions (PHP_4_3)

2004-06-25 Thread Wojtek Meler
Hi ! Here is small patch which makes ext/standard/datetime.c & parsedate.y use reentrant versions of date/time functions declared in PHP (php_localtime_r & php_gmtime_r). May somebody commit it ? Regards, Wojtek Index: datetime.c ==

Re: [PHP-DEV] php5 and bundled extensions vs PECL

2004-06-25 Thread Derick Rethans
On Fri, 25 Jun 2004, Curt Zirzow wrote: > > I noticed that the zip extension is no longer in the cvs tree. Am I > correct in thinking that it has been moved out of the bundled > package of php and into PECL? > > Is there a list of extensions that have been moved that > I can obtain, so the documen

RE: [PHP-DEV] Re: keyword arguments?

2004-06-25 Thread Derick Rethans
On Thu, 24 Jun 2004, Daniel Crookston wrote: > Okay, so keyword arguments probably won't be implemented. "Ice cube's > chance in hell" is the phrase I recall being thrown around. I have two > questions: > > 1. Why not? Because you can already do something similar with using a PHP array with ass