Re: [PHP-DEV] Leaking references

2001-03-28 Thread Thomas Wentzel
Thank you very much, Wez! Perhaps you can be so nice as to answer my next question also ;) Whenever I do a configure with --enable-debug I get close to a zillion errors when compiling (or linking rather) it seems that I get the following two errors for each function in my code: "multiple definit

[PHP-DEV] PHP 4.0 Bug #10045 Updated: no php_calendar.dll php_ftp.dll and php_mssql70.dll

2001-03-28 Thread hholzgra
ID: 10045 Updated by: hholzgra Reported By: [EMAIL PROTECTED] Status: Open Bug Type: *Extensibility Functions Assigned To: Comments: so you have to build them yourself ... (blame your OS if it came without a compiler) Previous Comments: -

[PHP-DEV] Question about socket ext. file descriptors

2001-03-28 Thread Lars Torben Wilson
At present, the sockets extension uses integers as file descriptors (e.g. socket() return value). At first I thought maybe they should have been resources until I tried writing some socket code, when I realized that it's easier under many circumstances for them to be ints. Is this going to be beh

[PHP-DEV] PHP 4.0 Bug #9857 Updated: define("named_constant")

2001-03-28 Thread shmengie_2000
ID: 9857 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: IIS related Description: define("named_constant") Taking a shot in the dark, hoping this bug comes to sombody who "knows" attention. Prior comments are somewhat misleading. I'm using OCI8, and also Manuel Lemos' Metabase. P

[PHP-DEV] PHP 4.0 Bug #9828 Updated: LDAP: Object class violation

2001-03-28 Thread kcchung
ID: 9828 User Update by: [EMAIL PROTECTED] Old-Status: Feedback Status: Closed Bug Type: LDAP related Description: LDAP: Object class violation The problem is found. I found that there are some changes in ldap functions in php 4.0.4pl1. the ldap_get_entries changed in php 4.0.4pl1. It return

[PHP-DEV] PHP 4.0 Bug #10048: OCIPlogon not persist connection

2001-03-28 Thread pratheshshah
From: [EMAIL PROTECTED] Operating system: suse 7.0 PHP version: 4.0.4pl1 PHP Bug Type: OCI8 related Bug description: OCIPlogon not persist connection Configure Command './configure' '--with-mysql' '--with-apache=../apache_1.3.14' '--with-oracle=/u01/app/oracle/product/8.

[PHP-DEV] PHP 4.0 Bug #10047: CRC Error while extracting from the downloaded archive

2001-03-28 Thread arvind
From: [EMAIL PROTECTED] Operating system: Linux RH 6.2 PHP version: 4.0.4pl1 PHP Bug Type: *Install and Config Bug description: CRC Error while extracting from the downloaded archive I am new to PHP and want to install it on Linux (Redhat 6.2). I downloaded the php-4.0.4pl1

[PHP-DEV] PHP 4.0 Bug #10046 Updated: linking to a PHP page with querystring causes error in php4ts.dll

2001-03-28 Thread tomas . gendron
ID: 10046 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: URL related Description: linking to a PHP page with querystring causes error in php4ts.dll The same error happens when submitted a form with action="GET" . "POST" works fine. Previous Comments: ---

[PHP-DEV] PHP 4.0 Bug #10046: linking to a PHP page with querystring causes error in php4ts.dll

2001-03-28 Thread tomas . gendron
From: [EMAIL PROTECTED] Operating system: Windows ME PHP version: 4.0.4pl1 PHP Bug Type: URL related Bug description: linking to a PHP page with querystring causes error in php4ts.dll Linking to a PHP page with querystring causes error in php4ts.dll but typing in the exact

[PHP-DEV] PHP 4.0 Bug #10045: no php_calendar.dll php_ftp.dll and php_mssql70.dll

2001-03-28 Thread jssqr
From: [EMAIL PROTECTED] Operating system: win98 PHP version: 4.0.4 PHP Bug Type: *Extensibility Functions Bug description: no php_calendar.dll php_ftp.dll and php_mssql70.dll c:\php\extension\ have no php_calendar.dll php_ftp.dll and php_mssql70.dll. -- Edit Bug report

[PHP-DEV] RC4

2001-03-28 Thread Zeev Suraski
RC4 was released with a fix to the ZTS build and some ming fix build. It's pretty much the same as RC3. Zeev -- Zeev Suraski <[EMAIL PROTECTED]> CTO & co-founder, Zend Technologies Ltd. http://www.zend.com/ -- PHP Development Mailing List To unsubscribe, e-mail: [EMA

Re: [PHP-DEV] PHP 4.0.5RC3

2001-03-28 Thread Matt White
Zeev; I may be jumping the gun here, but I found 4.0.5 RC4 on the CVSweb server and grabbed it. It built just fine. Looks like it's fixed. PHP Version 4.0.5RC4 System Windows NT 5.0 build 2195 Build Date Mar 28 2001 Server API ISAPI - Matt >>> Zeev Suraski <[EMAIL PROTECTED]> 03/28/01

Re: [PHP-DEV] PHP 4.0 Bug #10044: Bug in shm_remove() and inadequateimplementation of SYSVSem.

2001-03-28 Thread Gavin Sherry
Here are the patches without wrapped lines. Gavin --- ext/sysvsem/php_sysvsem.h.orig Fri Mar 16 01:44:26 2001 +++ ext/sysvsem/php_sysvsem.h Fri Mar 16 01:44:17 2001 @@ -30,6 +30,7 @@ PHP_FUNCTION(sem_get); PHP_FUNCTION(sem_acquire); PHP_FUNCTION(sem_release); +PHP_FUNCTION(sem_r

[PHP-DEV] PHP 4.0 Bug #10044: Bug in shm_remove() and inadequate implementation of SYSVSem.

2001-03-28 Thread swm
From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.0.4pl1 PHP Bug Type: Unknown/Other Function Bug description: Bug in shm_remove() and inadequate implementation of SYSVSem. There is a bug in shm_remove() that comes from the fact that the function is treating its

[PHP-DEV] PHP 4.0 Bug #10040 Updated: Apache Seg Fault

2001-03-28 Thread sniper
ID: 10040 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Apache related Assigned To: Comments: Fixed in CVS. --Jani Previous Comments: --- [2001-03-28 13:22:43] [EMAIL P

Re: [PHP-DEV] PHP 4.0.5RC3

2001-03-28 Thread Zeev Suraski
Should be fixed... At 22:02 28/3/2001, Matt White wrote: >Okay, so I have a little bit of time. > >The error was introduced between versions 1.315.2.1 and 1.315.2.2. > >If I comment out the line in question it builds (with crypt() support!) >and runs as ISAPI: > >PHP Version 4.0.5RC3 > >System W

[PHP-DEV] PHP 4.0 Bug #10043 Updated: action handler not working

2001-03-28 Thread torben
ID: 10043 Updated by: torben Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: *Web Server problem Assigned To: Comments: What happens if you test $HTTP_POST_VARS['submit'] instead of just $submit? Sounds to me like you don't have register_globals turned on in php.ini.

[PHP-DEV] PHP 4.0 Bug #10043: action handler not working

2001-03-28 Thread vlad
From: [EMAIL PROTECTED] Operating system: WinNT40 sp6 PHP version: 4.0.4pl1 PHP Bug Type: *Web Server problem Bug description: action handler not working Seems as though the action handler doesn't work. PHP page is coded as its won form handler. Hitting "submit" simply re

[PHP-DEV] PHP 4.0 Bug #10042: disable_functions fopen Memory allocation crash

2001-03-28 Thread hws
From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.0.4pl1 PHP Bug Type: Reproduceable crash Bug description: disable_functions fopen Memory allocation crash We configured PHP with fopen and all other file-related functions disabled (disable_functions = "fopen")

[PHP-DEV] Patch for Bug #7488 (pass-by-ref deprecated yet necessary)

2001-03-28 Thread Lars Torben Wilson
Re: Bug #7488, where I tripped upon the fact that call-time pass-by-reference, while deprecated in the language, is required by some functions. (The one which bit me was odbc_fetch_into(), but exec(), getmxrr(), and a few others also appear to require it). For the case of odbc_fetch_into(), the

Re: [PHP-DEV] PHP 4.0.5RC3

2001-03-28 Thread Matt White
Okay, so I have a little bit of time. The error was introduced between versions 1.315.2.1 and 1.315.2.2. If I comment out the line in question it builds (with crypt() support!) and runs as ISAPI: PHP Version 4.0.5RC3 System Windows NT 5.0 build 2195 Build Date Mar 28 2001 Server API ISAPI

Re: [PHP-DEV] PHP 4.0.5RC3

2001-03-28 Thread Matt White
Bad news... Compile failure on Win32. Configuration: php4dllts - Win32 Release_TS_inline Compiling... . . . basic_functions.c V:\php-4.0.5RC3\ext\standard\basic_functions.c(2489) : error C2065: 'core_globals' : undeclared identifier V:\php-4.0.5RC3\ext\s

[PHP-DEV] PHP 4.0 Bug #10041 Updated: Unable to fork

2001-03-28 Thread derick
ID: 10041 Updated by: derick Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Duplicate Bug Type: Unknown/Other Function Assigned To: Comments: This is a known problem Previous Comments: --- [2001-03-28 14:08:39] [E

[PHP-DEV] PHP 4.0 Bug #10041: Unable to fork

2001-03-28 Thread xxin22
From: [EMAIL PROTECTED] Operating system: Windows NT PHP version: 4.0.4pl1 PHP Bug Type: Unknown/Other Function Bug description: Unable to fork DESCRIPTION: I write a little script: I run it on Windows NT, using Apache, it says:"Unable to fork[dir] in f:/htdocs/Test/execd

Re: [PHP-DEV] Re: [PHP-QA] PHP 4.0.5RC3

2001-03-28 Thread Zeev Suraski
Looks like a bug then. I'll check it out. At 19:51 28/3/2001, Cynic wrote: >how often does it update? Three hours later it's still not there. > >At 17:34 28.3. 2001, Zeev Suraski wrote the following: >-- > >Next time www.php.net update

[PHP-DEV] PHP 4.0 Bug #10039 Updated: uninstallation

2001-03-28 Thread sniper
ID: 10039 Updated by: sniper Reported By: [EMAIL PROTECTED] Status: Open Old-Bug Type: *Install and Config Bug Type: Feature/Change Request Assigned To: Comments: reclassified. Previous Comments: --- [2001-03-28 12:32:29

Re: [PHP-DEV] Re: [PHP-QA] PHP 4.0.5RC3

2001-03-28 Thread Cynic
how often does it update? Three hours later it's still not there. At 17:34 28.3. 2001, Zeev Suraski wrote the following: -- >Next time www.php.net updates it should be there... > >At 17:14 28/3/2001, Cynic wrote: >>404 (error code, not

Re: [PHP-DEV] [Fwd: [PHP-QA] security patches against 4_0_5]

2001-03-28 Thread Zeev Suraski
It made it into RC3 (looked ok to me) At 19:24 28/3/2001, André Langhorst wrote: >Does anyone see a problem with this patch? >-- >· André Langhorstt: +49 331 5811560 · >· [EMAIL PROTECTED] m: +49 173 9558736 · >* PHP Quality Assurance http://qa.php.net * > > >X-Mozilla-Status2:

[PHP-DEV] PHP 4.0 Bug #10039: uninstallation

2001-03-28 Thread maitre
From: [EMAIL PROTECTED] Operating system: linux PHP version: 4.0.4pl1 PHP Bug Type: *Install and Config Bug description: uninstallation When compiling from source, there is no make uninstall generated by autoconf. Such a project should have a method of uninstallation. Havi

[PHP-DEV] [Fwd: [PHP-QA] security patches against 4_0_5]

2001-03-28 Thread André Langhorst
Does anyone see a problem with this patch? -- · André Langhorstt: +49 331 5811560 · · [EMAIL PROTECTED] m: +49 173 9558736 · * PHP Quality Assurance http://qa.php.net * Does someone see problems in merging the following patches in 4_0_5   They patch two serius problems in

[PHP-DEV] PHP 4.0 Bug #10034 Updated: Illegible font on main page of www.php.net

2001-03-28 Thread sniper
ID: 10034 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: *General Issues Assigned To: Comments: Report this to [EMAIL PROTECTED] --Jani Previous Comments: --- [2001-03-27 18

[PHP-DEV] PHP 4.0 Bug #10035 Updated: In function `apache_php_module_main': `NOT_FOUND' undeclared

2001-03-28 Thread sniper
ID: 10035 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: Compile Problem Assigned To: Comments: Update that #10037 report. --Jani Previous Comments: --- [2001-03-28 12:18:51

[PHP-DEV] PHP 4.0 Bug #10035 Updated: In function `apache_php_module_main': `NOT_FOUND' undeclared

2001-03-28 Thread vincent . katz
ID: 10035 User Update by: [EMAIL PROTECTED] Old-Status: Bogus Status: Open Bug Type: Compile Problem Description: In function `apache_php_module_main': `NOT_FOUND' undeclared yes i have apache2. thx but i have tested --with-apxs2, and an other problem comes; i have post it Previous Comments

[PHP-DEV] PHP 4.0 Bug #10038 Updated: preg_replace("/([_%&])/","\\\\1",$text) does not work as expected

2001-03-28 Thread andrei
ID: 10038 Updated by: andrei Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: PCRE related Assigned To: Comments: This is fixed in 4.0.5. Previous Comments: --- [2001-03-28 12:14:47] [EMAIL PROTECTE

[PHP-DEV] PHP 4.0 Bug #10038: preg_replace("/([_%&])/","\\\\1",$text) does not work as expected

2001-03-28 Thread reeg-pb
From: [EMAIL PROTECTED] Operating system: Linux (Debian) PHP version: 4.0.4pl1 PHP Bug Type: PCRE related Bug description: preg_replace("/([_%&])/","1",$text) does not work as expected Hello, I want to replace _ with \_, % with \% and & with \&. Under PHP4.0.3pl1 (teste

[PHP-DEV] PHP 4.0 Bug #10037 Updated: In file included from sapi_apache2.c:44:

2001-03-28 Thread sniper
ID: 10037 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Old-Bug Type: *Install and Config Bug Type: Apache related Assigned To: Comments: 1. Do NOT open any new bug reports for same problem! >From now on, UPDATE this one. 2. Try the latest CVS snapshot f

[PHP-DEV] PHP 4.0 Bug #10035 Updated: In function `apache_php_module_main': `NOT_FOUND' undeclared

2001-03-28 Thread sniper
ID: 10035 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Feedback Status: Bogus Bug Type: Compile Problem Assigned To: Comments: Previous Comments: --- [2001-03-28 10:21:36] [EMAIL PROTECTED] ./configure --

[PHP-DEV] Re: PHP 4.0 Bug #10035 Updated: In function `apache_php_module_main': `NOT_FOUND' undeclared

2001-03-28 Thread Vincent Katz
ok thx but i have tested with --with-apxs2 and an other problem come. i have post it on bug database -- Vincent Katz - CETELEM Equipe Systeme Unix Cetelem/Cofica 20 Avenue Georges Pompidou 92300 Levallois Perret - FRANCE E-Mail : [EMAIL PROTECTED] Le 28.03.2001 18:49, Bug Database a écrit :

Re: [PHP-DEV] Leaking references

2001-03-28 Thread teo
Hi Wez! On Wed, 28 Mar 2001, Wez Furlong wrote: > [I can't reach the PHP web site (100% packet loss), so I can't open a bug > report at this time] > > I have found a leak in the Zend engine: > > class A > { > var $t = null; > > function &run(&$t) > { > $this->t

[PHP-DEV] PHP 4.0 Bug #9953 Updated: memory leak

2001-03-28 Thread teo
ID: 9953 User Update by: [EMAIL PROTECTED] Old-Status: Feedback Status: Duplicate Bug Type: Scripting Engine problem Description: memory leak Previous Comments: --- [2001-03-23 08:09:27] [EMAIL PROTECTED] zend_hash.c(1032)

[PHP-DEV] PHP 4.0 Bug #9996 Updated: Make install fails in pear directory under HFS+ filesystem

2001-03-28 Thread sniper
ID: 9996 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Compile Failure Assigned To: Comments: Fixed. 4.0.5 will have the fix in it. --Jani Previous Comments: --- [2001-03-

[PHP-DEV] PHP 4.0 Bug #10037: In file included from sapi_apache2.c:44:

2001-03-28 Thread vincent . katz
From: [EMAIL PROTECTED] Operating system: linux-2.14 PHP version: 4.0.4pl1 PHP Bug Type: *Install and Config Bug description: In file included from sapi_apache2.c:44: ./configure --with-apxs2 ; make In file included from sapi_apache2.c:44: php_apache.h:24: parse error befo

[PHP-DEV] PHP 4.0 Bug #10035 Updated: In function `apache_php_module_main': `NOT_FOUND' undeclared

2001-03-28 Thread sniper
ID: 10035 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Compile Problem Assigned To: Comments: Which version of Apache are you using? If you have Apache2 then you should use --with-apxs2 instead. --Jani Previous Comments: ---

[PHP-DEV] PHP 4.0 Bug #9869 Updated: ODBC - odbc_exec does not seem to work with an Access db

2001-03-28 Thread kalowsky
ID: 9869 Updated by: kalowsky Reported By: [EMAIL PROTECTED] Old-Status: Assigned Status: Closed Bug Type: ODBC related Assigned To: Comments: considered closed for now. re-open please if the bugs still exist after your porting and testing please Previous Comments: ---

[PHP-DEV] PHP 4.0 Bug #9869 Updated: ODBC - odbc_exec does not seem to work with an Access db

2001-03-28 Thread bruceg
ID: 9869 User Update by: [EMAIL PROTECTED] Status: Assigned Bug Type: ODBC related Description: ODBC - odbc_exec does not seem to work with an Access db I am using 3.2. I am reluctant to move up to 4.0, since this box uses ODBC to 3 different machines, and I would not want to break anything. W

[PHP-DEV] PHP 4.0 Bug #9869 Updated: ODBC - odbc_exec does not seem to work with an Access db

2001-03-28 Thread ahill
ID: 9869 Updated by: ahill Reported By: [EMAIL PROTECTED] Status: Assigned Bug Type: ODBC related Assigned To: Comments: Bruce, What version of the OpenLink drivers are you using? The problem here is most likely due to the fact that you're still running Release 3.2 of OpenLink. The reason

[PHP-DEV] PHP 4.0 Bug #8358 Updated: SOUNDEX, MSSQL, and EXTENDED_FETCH with OpenLink

2001-03-28 Thread kalowsky
ID: 8358 Updated by: kalowsky Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: ODBC related Assigned To: Comments: Have you tried this with the latest RC (4.0.5) of PHP? I believe there has been some work done on the ODBC and OpenLink integration. Previous Comments

[PHP-DEV] Re: [PHP-QA] PHP 4.0.5RC3

2001-03-28 Thread Zeev Suraski
Next time www.php.net updates it should be there... At 17:14 28/3/2001, Cynic wrote: >404 (error code, not a PHP version :) > >At 17:01 28.3. 2001, Zeev Suraski wrote the following: >-- > >RC3 is out - http://www.php.net/distributions/ph

[PHP-DEV] PHP 4.0 Bug #10010 Updated: odbc_exec()

2001-03-28 Thread kalowsky
ID: 10010 Updated by: kalowsky Reported By: [EMAIL PROTECTED] Old-Status: Feedback Status: Closed Bug Type: *Database Functions Assigned To: Comments: I am unable to reproduce this locally. Please check your configuration. If this continues further, please re-open this bug and provide wit

[PHP-DEV] PHP 4.0 Bug #10010 Updated: odbc_exec()

2001-03-28 Thread kalowsky
ID: 10010 Updated by: kalowsky Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: *Database Functions Assigned To: Comments: user stated: i use ODBC to ms access database. if i do this function odbc_exec($me_con,"select * from users;"). php and apache go down with windows error... - i

[PHP-DEV] PHP 4.0 Bug #10036: dies on make

2001-03-28 Thread jjratelle
From: [EMAIL PROTECTED] Operating system: solaris 8 PHP version: 4.0.4pl1 PHP Bug Type: Compile Failure Bug description: dies on make run make (after ./configure) & receive the following: # make Making all in Zend make[1]: Entering directory `/usr/local/src/php-4.0.4pl1/Zend

[PHP-DEV] PHP 4.0 Bug #10035: In function `apache_php_module_main': `NOT_FOUND' undeclared

2001-03-28 Thread vincent . katz
From: [EMAIL PROTECTED] Operating system: Linux-2.2.14 PHP version: 4.0.4pl1 PHP Bug Type: Compile Problem Bug description: In function `apache_php_module_main': `NOT_FOUND' undeclared ./configure --with-apxs ; make ... Making all in apache make[2]: Entering directory `/roo

[PHP-DEV] PHP 4.0 Bug #7857 Updated: odbc_exec crashes php

2001-03-28 Thread kalowsky
ID: 7857 Updated by: kalowsky Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: ODBC related Assigned To: Comments: User reports fixed in 4.0.4... direct quote from email: " ID: 7857 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: ODBC related Description:

[PHP-DEV] PHP 4.0 Bug #9921 Updated: Wrong File Created Date and Wrong Filesize

2001-03-28 Thread lopes
ID: 9921 User Update by: [EMAIL PROTECTED] Status: Bogus Bug Type: Filesystem function related Description: Wrong File Created Date and Wrong Filesize Sorry! The Output for every file (no matter filesize or file date) is : 01/01/1970 0 Previous Comments:

[PHP-DEV] Re: [PHP-QA] PHP 4.0.5RC3

2001-03-28 Thread Cynic
404 (error code, not a PHP version :) At 17:01 28.3. 2001, Zeev Suraski wrote the following: -- >RC3 is out - http://www.php.net/distributions/php-4.0.5RC3.tar.gz > >Zeev > > >-- >Zeev Suraski <[EMAIL PROTECTED]> >CTO & co-founder, Zen

[PHP-DEV] PHP 4.0.5RC3

2001-03-28 Thread Zeev Suraski
RC3 is out - http://www.php.net/distributions/php-4.0.5RC3.tar.gz Zeev -- Zeev Suraski <[EMAIL PROTECTED]> CTO & co-founder, Zend Technologies Ltd. http://www.zend.com/ -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

RE: [PHP-DEV] Leaking references

2001-03-28 Thread Stanislav Malyshev
WF>> Ahhh. WF>> WF>> It may sound like a stupid question, but why not? Because reference-counting mechanisms of memory management are not fit to deal with circular references. WF>> And is it likely to in the future? I won't be holding my breath for it. That's the basic property of reference-cou

Re: [PHP-DEV] Zend and TSRM

2001-03-28 Thread Derick Rethans
On Wed, 28 Mar 2001, bibi wrote: > Hi, > > I wanted to compile PHP from the latest sources from cvs. > I have check out php4 from cvs. > But I cant find Zend and TSRM modules. > > I know that's a stupide question, but where can I find them ? You can find them in the Zend CVS: [EMAIL PROTECTED] p

Re: [PHP-DEV] Leaking references

2001-03-28 Thread Thomas Wentzel
I do come up with the most stupid questions - sorry :) Thomas Wentzel wrote: > > Erhm all this talk about memory leaks - made me curious. > How do I go about getting the sort of output, that Wez are showing > below. > I suspect that the extension I'm writing on has some severe memory > issues.

Re: [PHP-DEV] Leaking references

2001-03-28 Thread Thomas Wentzel
Erhm all this talk about memory leaks - made me curious. How do I go about getting the sort of output, that Wez are showing below. I suspect that the extension I'm writing on has some severe memory issues. These issues are occuring in the PHP script, that utilizes my extension. Every other reload

RE: [PHP-DEV] Leaking references

2001-03-28 Thread Wez Furlong
> I don't have enough mental strength to dive into that script > right now, but :-) > be advised that if you create circular references (which > apparently you do) > then yes, it will leak. PHP doesn't support circular references. Ahhh. It may sound like a stupid question, but why not? An

[PHP-DEV] Zend and TSRM

2001-03-28 Thread bibi
Hi, I wanted to compile PHP from the latest sources from cvs. I have check out php4 from cvs. But I cant find Zend and TSRM modules. I know that's a stupide question, but where can I find them ? Bibi. -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTEC

Re: [PHP-DEV] Leaking references

2001-03-28 Thread Zeev Suraski
I don't have enough mental strength to dive into that script right now, but be advised that if you create circular references (which apparently you do) then yes, it will leak. PHP doesn't support circular references. Zeev At 15:06 28/3/2001, Wez Furlong wrote: >[I can't reach the PHP web site

RE: [PHP-DEV] Leaking references

2001-03-28 Thread Wez Furlong
BTW: This was with CVS PHP updated this morning, ./configure --disable-pear --without-gd --without-mysql --enable-debug > zend_hash.c(291) : Freeing 0x0818E474 (37 bytes), script=leak.php > Last leak repeated 1 time > zend_hash.c(202) : Freeing 0x08193D1C (20 bytes), script=leak.php > Last lea

[PHP-DEV] Leaking references

2001-03-28 Thread Wez Furlong
[I can't reach the PHP web site (100% packet loss), so I can't open a bug report at this time] I have found a leak in the Zend engine: class A { var $t = null; function &run(&$t) { $this->t = &$t; return $this->t->run(); } } clas

[PHP-DEV] How to get line number from which function was called ???

2001-03-28 Thread Milan Mlynarcik
Is there way how to get line number from which function was called ??? -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

RE: [PHP-DEV] (apparently) leaky zend

2001-03-28 Thread Wez Furlong
> How do you see that? That 'last leak repeated 18 times' doesn't mean the > pointer got freed 18 times, but rather, that a leak from zend_hash.c(461) > repeated itself 18 times... My mistake... just after I sent the message I realized that that couldn't be the case, as there would have been a c

Re: [PHP-DEV] (apparently) leaky zend

2001-03-28 Thread Zeev Suraski
At 12:26 28/3/2001, Wez Furlong wrote: >Hi All, > >I've been noticing a whole bunch of memory leaks that appear to be coming >from zend while running a complex script. > >zend_hash.c(202) : Freeing 0x088D11E4 (20 bytes), script=/wwwroot/view.php >Last leak repeated 37 times >./zend_execute.c(2144

[PHP-DEV] (apparently) leaky zend

2001-03-28 Thread Wez Furlong
Hi All, I've been noticing a whole bunch of memory leaks that appear to be coming from zend while running a complex script. zend_hash.c(202) : Freeing 0x088D11E4 (20 bytes), script=/wwwroot/view.php Last leak repeated 37 times ./zend_execute.c(2144) : Freeing 0x089D8E3C (48 bytes), script=/www

[PHP-DEV] mailparse email parsing extension for PHP

2001-03-28 Thread Wez Furlong
Hi, I've written an extension that will parse rfc822/rfc2045 compliant email messages and allow manipulation of the message parts. The main points are: . Based on modified maildrop librfc822 and librfc2045 (part of the courier mail server) . Low resource usage - all parsing is "incremental", us

Re: [PHP-DEV] non-thread-safe yet pthreads-friendly build of PHP?

2001-03-28 Thread Adam Dickmeiss
Hi, this whole "feature" have caused me several headhaches too.. There seem to be some consencus on this mailing list at least, that this error is related to GLIBC. Ulrich Drepper, GLIBC maintainer, doesn't see it that way. I sent a small program that illustrates this behaviour, and the response