Re: [PHP-DEV] make new return a reference to existent object

2005-05-11 Thread Duncan McIntyre
Wez, I have similar problems. I think your suggested solution is the wrong approach because your problem is not creating objects, it is destroying them. My solution would be to define a new magic static method __free() which is given an instance of the class every time a reference to that

[PHP-DEV] segfault in html_entity_decode

2005-05-11 Thread Kamesh Jayachandran
Hi Derick and Joe, html_entity_decode('ensp;thinsp;lsquo;dagger;prime;frasl;euro;', ENT_QUOTES, 'UTF-8'); (same testcase bug #29119) is causing Segfault in NetWare. The cause of the segfault seems to be the size of ent_uni_338_402. Which I persume should be of size 402-338+1=65 It used to be 63

[PHP-DEV] Re: segfault in html_entity_decode

2005-05-11 Thread Joe Orton
On Wed, May 11, 2005 at 04:18:40AM -0700, Kamesh Jayachandran wrote: Hi Derick and Joe, html_entity_decode('ensp;thinsp;lsquo;dagger;prime;frasl;euro;', ENT_QUOTES, 'UTF-8'); (same testcase bug #29119) is causing Segfault in NetWare. The cause of the segfault seems to be the size of

[PHP-DEV] Re: segfault in html_entity_decode

2005-05-11 Thread Kamesh Jayachandran
Hi Joe, The array should be as follows, static entity_table_t ent_uni_338_402[] = { /* 338 (0x0152) */ OElig, oelig, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, /* 352 (0x0160) */ Scaron, scaron, NULL, NULL, NULL, NULL, NULL,

[PHP-DEV] magic detecting reference deletion

2005-05-11 Thread Leonardo Pedretti
That is perfect Duncan, that was my first impression, but I think i read that there was something to adding new magic methods, however, i think that would be the perfect solution. On Wednesday 11 May 2005 06:14, Duncan McIntyre wrote: Wez, I have similar problems. I think your suggested

[PHP-DEV] ext/soap parse error in HEAD

2005-05-11 Thread Adam Maccabee Trachtenberg
I'm getting a parse error with ext/soap in HEAD. This patch seems to fix my problem. Can someone review and apply? http://www.trachtenberg.com/patches/soap_error_handler.txt Thanks. -adam -- [EMAIL PROTECTED] | http://www.trachtenberg.com author of o'reilly's upgrading to php 5 and php

Re: [PHP-DEV] ext/soap parse error in HEAD

2005-05-11 Thread Antony Dovgal
On Wed, 11 May 2005 13:56:46 -0400 (EDT) Adam Maccabee Trachtenberg [EMAIL PROTECTED] wrote: I'm getting a parse error with ext/soap in HEAD. This patch seems to fix my problem. Can someone review and apply? http://www.trachtenberg.com/patches/soap_error_handler.txt Are you sure that moving

Re: [PHP-DEV] Re: Fw: win32 build broken

2005-05-11 Thread Sebastian Bergmann
Sebastian Bergmann wrote: HEAD built fine for me after April 26. But it broke (at least for me) some time after Friday. Am I the only one having this problem? -- Sebastian Bergmann http://www.sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B

Re: [PHP-DEV] ext/soap parse error in HEAD

2005-05-11 Thread Adam Maccabee Trachtenberg
On Wed, 11 May 2005, Antony Dovgal wrote: On Wed, 11 May 2005 13:56:46 -0400 (EDT) Adam Maccabee Trachtenberg [EMAIL PROTECTED] wrote: I'm getting a parse error with ext/soap in HEAD. This patch seems to fix my problem. Can someone review and apply?

Re: [PHP-DEV] ext/soap parse error in HEAD

2005-05-11 Thread Antony Dovgal
On Wed, 11 May 2005 15:57:54 -0400 (EDT) Adam Maccabee Trachtenberg [EMAIL PROTECTED] wrote: On Wed, 11 May 2005, Antony Dovgal wrote: On Wed, 11 May 2005 13:56:46 -0400 (EDT) Adam Maccabee Trachtenberg [EMAIL PROTECTED] wrote: I'm getting a parse error with ext/soap in HEAD. This

Re: [PHP-DEV] ext/soap parse error in HEAD

2005-05-11 Thread Rob Richards
Ok, now I cant build under windows with that change. Rob Antony Dovgal wrote: On Wed, 11 May 2005 13:56:46 -0400 (EDT) Adam Maccabee Trachtenberg [EMAIL PROTECTED] wrote: I'm getting a parse error with ext/soap in HEAD. This patch seems to fix my problem. Can someone review and apply?

Re: [PHP-DEV] ext/soap parse error in HEAD

2005-05-11 Thread Antony Dovgal
On Wed, 11 May 2005 17:08:40 -0400 Rob Richards [EMAIL PROTECTED] wrote: Ok, now I cant build under windows with that change. Ok, fixed. -- Wbr, Antony Dovgal aka tony2001 [EMAIL PROTECTED] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit:

Re: [PHP-DEV] ext/soap parse error in HEAD

2005-05-11 Thread Andi Gutmans
I just emailed. Adam, you were right and CG()/EG() can't be accessed before TSRM_FETCH() At 03:57 PM 5/11/2005 -0400, Adam Maccabee Trachtenberg wrote: On Wed, 11 May 2005, Antony Dovgal wrote: On Wed, 11 May 2005 13:56:46 -0400 (EDT) Adam Maccabee Trachtenberg [EMAIL PROTECTED] wrote: I'm

Re: [PHP-DEV] ext/soap parse error in HEAD

2005-05-11 Thread Rasmus Lerdorf
Antony Dovgal wrote: On Wed, 11 May 2005 13:56:46 -0400 (EDT) Adam Maccabee Trachtenberg [EMAIL PROTECTED] wrote: I'm getting a parse error with ext/soap in HEAD. This patch seems to fix my problem. Can someone review and apply? http://www.trachtenberg.com/patches/soap_error_handler.txt

Re: [PHP-DEV] ext/soap parse error in HEAD

2005-05-11 Thread Adam Maccabee Trachtenberg
On Wed, 11 May 2005, Andi Gutmans wrote: I just emailed. Adam, you were right and CG()/EG() can't be accessed before TSRM_FETCH() So we need to declare the vars, call TSRM_FETCH(), and then assign values from CG()/EG()? http://www.trachtenberg.com/patches/soap_error_handler.txt Right now it

Re: [PHP-DEV] ext/soap parse error in HEAD

2005-05-11 Thread Andi Gutmans
Yep. At 05:48 PM 5/11/2005 -0400, Adam Maccabee Trachtenberg wrote: On Wed, 11 May 2005, Andi Gutmans wrote: I just emailed. Adam, you were right and CG()/EG() can't be accessed before TSRM_FETCH() So we need to declare the vars, call TSRM_FETCH(), and then assign values from CG()/EG()?

Re: [PHP-DEV] Re: Fw: win32 build broken

2005-05-11 Thread Rob Richards
It builds fine here. Assuming the problem you are hitting is still in mysql, I'm building it shared and using headers from mysql-3.23.58 and under VC++ 6 so not sure if that matters. Rob Sebastian Bergmann wrote: Sebastian Bergmann wrote: HEAD built fine for me after April 26. But it broke

Re: [PHP-DEV] ext/soap parse error in HEAD

2005-05-11 Thread Adam Maccabee Trachtenberg
Tony -- In that case, can you recommit a revised patch similar to the one linked to below? I don't have ext/soap karma. -adam On Wed, 11 May 2005, Andi Gutmans wrote: Yep. At 05:48 PM 5/11/2005 -0400, Adam Maccabee Trachtenberg wrote: On Wed, 11 May 2005, Andi Gutmans wrote: I just

Re: [PHP-DEV] ext/soap parse error in HEAD

2005-05-11 Thread Adam Maccabee Trachtenberg
On Thu, 12 May 2005, Antony Dovgal wrote: On Wed, 11 May 2005 18:49:53 -0400 (EDT) Adam Maccabee Trachtenberg [EMAIL PROTECTED] wrote: Tony -- In that case, can you recommit a revised patch similar to the one linked to below? I don't have ext/soap karma. Already done, Adam, the lists

Re: [PHP-DEV] ext/soap parse error in HEAD

2005-05-11 Thread Antony Dovgal
On Wed, 11 May 2005 18:49:53 -0400 (EDT) Adam Maccabee Trachtenberg [EMAIL PROTECTED] wrote: Tony -- In that case, can you recommit a revised patch similar to the one linked to below? I don't have ext/soap karma. Already done, Adam, the lists are lagging.. Thanks for pointing it out. --