[PHP-DEV] Memory leaks in PHP_4_3 and HEAD

2003-07-29 Thread Magnus Maatta
a = &$a; } } $a = new a(); for ($i = 0; $i <= 4; $i++) { $a->items[] = new b($a); } print_r($a); ?> With PHP5: [4] => b Object ( [a] => a Object *RECURSION* ) ) ) /opt/dev/php/php5/Zend/zend_hash.c(374) : Freeing

Re: [PHP-DEV] [THTTPD SAPI] Patch for implementing missing getenv

2003-07-25 Thread Magnus Maatta
On Fri, 25 Jul 2003 13:47:54 +0200 Mattias Wadman <[EMAIL PROTECTED]> wrote: > Hello > > I submitted the bug http://bugs.php.net/?id=24802 and [EMAIL PROTECTED] told me to > resend it to you. I also attach a non-web-form-mangled patch. > > Hope you like the patch. Where is the patch ? =) /Mag

Re: [PHP-DEV] current HEAD compile failure on Tru64 5.1

2003-07-04 Thread Magnus Maatta
Some more info.. if it matters.. here is msghdr from sys/socket.h /* * NOTE: The POSIX msghdr structure takes precedence over the XOPEN flavor * if both environments are defined. The two structs differ in the * size of the msg_iovlen element. */ #ifdef _POSIX_PII_SOCKET struct ms

[PHP-DEV] current HEAD compile failure on Tru64 5.1

2003-07-04 Thread Magnus Maatta
cc: Warning: /php/php-src/ext/sockets/sockets.c, line 266: In this statement, the referenced type of the pointer value "&salen" is "unsigned int", which is not compatible with "int" because they differ by signed/unsigned attribute. (ptrmismatch1) out_sock->bsd_socket = accept(in_sock->bsd

[PHP-DEV] Segmention fault in PHP5 when doing make install

2003-06-03 Thread Magnus Maatta
#0 0x0825d095 in zend_make_full_classname (ce=0x865600c, name=0xbf1ef26c, name_len=0xbf1ef268) at /opt/dev/php/php5/Zend/zend_API.c:1573 len = 11 full_name = 0x8268a43 "ÉÃU\211åS\201ì\224" #1 0x0826a85c in zend_std_object_get_class_name (object=0x86daf64, class_name=0xbf1ef2

Re: [PHP-DEV] Jumadi

2003-04-03 Thread Magnus Maatta
On Fri, 4 Apr 2003 09:56:41 +0700 Jumadi Francisco Simangunsong <[EMAIL PROTECTED]> wrote: > How to make Socket with PHP > For the zillionth time. This is wrong list. Please ask these questions in [EMAIL PROTECTED] and not this list. /Magnus -- Darth Vader: The force is with you y

[PHP-DEV] PHP is now a Microsoft Partner

2003-03-31 Thread Magnus Maatta
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 PHP is now a Microsoft Partner Issued on: April 1, 2003 Software: PHP Platforms: All The PHP Group has is proud to announce that we are now a partner of Microsoft Corporation. Description After many hours of talking with people

Re: [PHP-DEV] Patches for case insensitive in_array, bug id 12192

2003-03-30 Thread Magnus Maatta
On Sun, 30 Mar 2003 22:12:22 +0200 Magnus Maatta <[EMAIL PROTECTED]> wrote: > On Sun, 30 Mar 2003 14:06:29 -0500 > "Mike Robinson" <[EMAIL PROTECTED]> wrote: > > > Andrei Zmievski wrote: > > > > > > On Sun, 30 Mar 2003, Mike Robinson wrote

Re: [PHP-DEV] Patches for case insensitive in_array, bug id 12192

2003-03-30 Thread Magnus Maatta
On Sun, 30 Mar 2003 14:06:29 -0500 "Mike Robinson" <[EMAIL PROTECTED]> wrote: > Andrei Zmievski wrote: > > > > On Sun, 30 Mar 2003, Mike Robinson wrote: > > > ATM, in_array() takes 2 args and 1 parameter. Adding 1 more > > > wouldn't hurt, doesn't break BC, and provides some added > > > usefu

Re: [PHP-DEV] Patches for case insensitive in_array, bug id 12192

2003-03-30 Thread Magnus Maatta
On Sun, 30 Mar 2003 11:46:41 -0500 Andrei Zmievski <[EMAIL PROTECTED]> wrote: > On Sun, 30 Mar 2003, Magnus Maatta wrote: > > > hmm.. heh.. ok.. They should come now then.. And remember that it's my > > > first patches (ZE2 patch is 90% Marcus btw), so don

Re: [PHP-DEV] Patches for case insensitive in_array, bug id 12192

2003-03-30 Thread Magnus Maatta
On Sun, 30 Mar 2003 18:32:21 +0200 Magnus Maatta <[EMAIL PROTECTED]> wrote: > On Mon, 31 Mar 2003 01:25:43 +0900 > Moriyoshi Koizumi <[EMAIL PROTECTED]> wrote: > > > Where's the patch? It seems your sylpheed doesn't correctly send the > > attachment

Re: [PHP-DEV] Patches for case insensitive in_array, bug id 12192

2003-03-30 Thread Magnus Maatta
On Mon, 31 Mar 2003 01:25:43 +0900 Moriyoshi Koizumi <[EMAIL PROTECTED]> wrote: > Where's the patch? It seems your sylpheed doesn't correctly send the > attachment as text/plain. Try suffixing it with ".txt".. > hmm.. heh.. ok.. They should come now then.. And remember that it's my first patche

[PHP-DEV] Patches for case insensitive in_array, bug id 12192

2003-03-30 Thread Magnus Maatta
Hi! Here are two patches that will fix this user request. I hope they look fine. Btw, they are for php5 HEAD. I don't have any karma so I can't commit them even if they look good. So I will leave that to someone else.. /Magnus -- War is much too serious a matter to be entrusted to the milit

Re: [PHP-DEV] CVS Account Request: fbi

2003-03-19 Thread Magnus Maatta
On 19 Mar 2003 10:04:42 - "saleem sabir" <[EMAIL PROTECTED]> wrote: > i want to learn PHP first and then i want to help in development of PHP. Basically i > am a student of computer sciences and want oppertunity to explore it. You don't need CVS access to learn PHP. http://www.php.net/manual