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.

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, A

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: > > > > >

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 (a

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()? http://

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 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_ha

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: > >

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: http://www.php.net/

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? http://w

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

2005-05-11 Thread l0t3k
Antony, i've had a similar issue with extensions i've written. i get "Undeclared identifer" problems under VS.NET if TSRMLS_FETCH() does not appear after all other declarations. l0t3k "Antony Dovgal" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Wed, 11 May 2005 13:56:

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

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? > > > > http://www.trachtenberg.

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 6

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 m

[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 cook

[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 so

[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, NUL

[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('  ‘†′⁄€', > 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 sh

[PHP-DEV] segfault in html_entity_decode

2005-05-11 Thread Kamesh Jayachandran
Hi Derick and Joe, html_entity_decode('  ‘†′⁄€', 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 in size till 1.97.2.5. Bug fix 2806

Re: [PHP-DEV] Re: new overloading feature?

2005-05-11 Thread Thomas Richter
Lukas Smith wrote: FYI: SingletonFactory can be a pure static class. yes it just doesnt work if you normally already use a factory ..because then you cant do $name::factory(); call_user_func(array($name,"Factory")); ?? thomas -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe,

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 insta