[PHP-DEV] Suggestions for Reflection API

2004-02-24 Thread Sebastian Bergmann
Hi, I just looked for the first time in months at the Reflection API and have two suggestions: 1.) There are a couple of methods that throw an Exception. I think it would be better to introduce a Reflection_Exception class that is thrown instead of the standard Exceptio

Re: [PHP-DEV] Re: crash in sqlite_oo/spl

2004-02-24 Thread Ard Biesheuvel
Marcus Boerger wrote: Hello Ard, on the first sight it looks pretty much as if you havn't updated your build tree completley. Please check that ext/spl, ext/sqlite and Zend are up to date. Because for me it works pretty well. However i think this may not be your problem since looking at the backt

Re: [PHP-DEV] Patch now or wait

2004-02-24 Thread Ilia Alshanetsky
On February 24, 2004 07:41 pm, you wrote: > True, but I had a group request it and tested the patch so I figured I > would see about giving it back. I was hoping you had some additional technical reasons for the patch that I had missed. As it stands now, I am +1 for including this patch in PHP 5.

Re: [PHP-DEV] Patch now or wait

2004-02-24 Thread Brian J. France
True, but I had a group request it and tested the patch so I figured I would see about giving it back. Brian On Feb 24, 2004, at 6:01 PM, Ilia Alshanetsky wrote: Why is this needed? As far as I know curl extension already prints to screen by default. The only instance where this maybe useful,

Re: [PHP-DEV] Re: crash in sqlite_oo/spl

2004-02-24 Thread Ard Biesheuvel
Marcus Boerger wrote: Hello Ard, on the first sight it looks pretty much as if you havn't updated your build tree completley. Please check that ext/spl, ext/sqlite and Zend are up to date. Because for me it works pretty well. However i think this may not be your problem since looking at the backtr

Re: [PHP-DEV] Re: crash in sqlite_oo/spl

2004-02-24 Thread Marcus Boerger
Hello Ard, on the first sight it looks pretty much as if you havn't updated your build tree completley. Please check that ext/spl, ext/sqlite and Zend are up to date. Because for me it works pretty well. However i think this may not be your problem since looking at the backtrace shows that an unin

Re: [PHP-DEV] Patch now or wait

2004-02-24 Thread Ilia Alshanetsky
Why is this needed? As far as I know curl extension already prints to screen by default. The only instance where this maybe useful, is when making multiple request via the same handle and you want to print only the output of certain requests, which seems rather strange to me. Ilia On February

[PHP-DEV] Patch now or wait

2004-02-24 Thread Brian J. France
I have already run this past Sterling, but figured I would make sure there are no other objections to applying this patch to both 4.3 and HEAD. It allows switching back to the standard output by calling: curl_setopt($ch, CURLOPT_RETURNTRANSFER, 0); Thanks, Brian Based on 4.3.4 source -

Re: [PHP-DEV] Re: crash in sqlite_oo/spl

2004-02-24 Thread Andi Gutmans
Looks like a reference count problem to me. Best if the ppl familiar with sqlite/spl take a look. Andi At 14:49 24/02/2004 +0100, Ard Biesheuvel wrote: #0 0x081b81ed in _zend_is_inconsistent (ht=0x5a5a5a5a, file=0x821d580 "/home/abies/build/php5-cvs/Zend/zend_hash.c", line=504) at /home/abie

Re: [PHP-DEV] Re: segfault in shutdown sequence

2004-02-24 Thread Jani Taskinen
This is most likely fixed already in CVS. --Jani p.s. ALWAYS try the latest snapshot first before submitting any bug report / sending any mails. On Tue, 24 Feb 2004, Hans Lellelid wrote: >Hi - I know that this segfault report is quite vague. Can anyone tell >me

[PHP-DEV] Re: segfault in shutdown sequence

2004-02-24 Thread Hans Lellelid
Hi - I know that this segfault report is quite vague. Can anyone tell me by looking at the stacktrace where I could start looking for the problem?I have not tested this on latest snapshot (the stacktrace below is w/ PHP5b4), but am told the problem persists. Seems clearly to be in shutdo

Re: [PHP-DEV] latest libxml/libxslt win32 libs

2004-02-24 Thread Edin Kadribasic
OK. Lets wait until 4.3.5 is out of the door, and then upgrade win32 builds. Edin On Tuesday 24 February 2004 3:55 pm, Rob Richards wrote: > I have absolutely no idea and would rather get some testing done with them > first. > Many of the past issues we had with libxml were windows compatiblity >

Re: [PHP-DEV] latest libxml/libxslt win32 libs

2004-02-24 Thread Rob Richards
I have absolutely no idea and would rather get some testing done with them first. Many of the past issues we had with libxml were windows compatiblity related. I have not had time to play with 2.6 under windows other than to make sure php was compiling until now, so it may be better to wait a bit b

Re: [PHP-DEV] latest libxml/libxslt win32 libs

2004-02-24 Thread Edin Kadribasic
On Tuesday 24 February 2004 1:54 pm, Rob Richards wrote: > For anyone who wants to test PHP 5 with the latest libxml/libxslt libs for > windows, I finally got some built and put them up at: > http://www.ctindustries.net/libxml/ Should there be any problems if I upgrade snaps/release box with these

[PHP-DEV] Re: crash in sqlite_oo/spl

2004-02-24 Thread Ard Biesheuvel
#0 0x081b81ed in _zend_is_inconsistent (ht=0x5a5a5a5a, file=0x821d580 "/home/abies/build/php5-cvs/Zend/zend_hash.c", line=504) at /home/abies/build/php5-cvs/Zend/zend_hash.c:53 #1 0x081b99b2 in zend_hash_destroy (ht=0x5a5a5a5a) at /home/abies/build/php5-cvs/Zend/zend_hash.c:504 #2 0x08090c

[PHP-DEV] crash in sqlite_oo/spl

2004-02-24 Thread Ard Biesheuvel
Currently, ext/sqlite/tests/sqlite_oo_031.phpt crashes after completion of the script. If I unset($menu_iterator) first, the crash disappears. -- Ard -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] latest libxml/libxslt win32 libs

2004-02-24 Thread Rob Richards
For anyone who wants to test PHP 5 with the latest libxml/libxslt libs for windows, I finally got some built and put them up at: http://www.ctindustries.net/libxml/ Rob

Re: [PHP-DEV] Migration Appendice

2004-02-24 Thread Andi Gutmans
At 18:42 23/02/2004 +0100, Marcus Boerger wrote: Hello Nuno, Paragraph: Classes must be declared before used is no longer true. For most cases this is allowed now. To be accurate, we solved the BC issue but for people who want to use the PHP 5 features (such as implementing interfaces), they will

[PHP-DEV] Re: [PHP-DOC] Migration Appendice

2004-02-24 Thread Stephane Drouard
As this document refers to zend-engine-2.php, this latter should be updated. Here are some remarks: Private and Protected Members * reverse $Bar and $Foo strings * instead of "should/shouldn't print" -> OK or error Interfaces * may choose another name than the polemical "Throwable" one ;-) C

[PHP-DEV] Re: [PHP-DOC] Migration Appendice

2004-02-24 Thread Derick Rethans
On Mon, 23 Feb 2004, Nuno Lopes wrote: > Today I've finished writing the 'Migrating from PHP 4 to PHP 5' appendice. > I would like you to review it to check if something is missing or incorrect. > > As the on-line version is outdated, use livedocs at: > http://docs.php.net/en/migration5.html I mi