[PHP-DEV] Re: [PHP-CVS] cvs: php4 / configure.in

2003-04-03 Thread Sebastian Bergmann
Marcus Boerger wrote: > helly Wed Apr 2 16:17:16 2003 EDT > > Modified files: > /php4 configure.in > Log: > For now only bison 1.28, 1.35 and 1.75 are working properly While you're at it, you could limit flex to 2.5.4 because of http://www.sebastian-bergmann.de/blog/arch

[PHP-DEV] patch: domxml - set_attirubte_node implmentation

2003-04-03 Thread Rob Richards
Here is a patch for domxml which implements the set_attribute_node method. Located at: http://www.digarc.com/php_domxml.diff One thing to note is in the section where an attribute already exists. As there can't be dunplicate attributes, only the content from the new attribute node is moved to the

Re: [PHP-DEV] patch: domxml - set_attirubte_node implmentation

2003-04-03 Thread Christian Stocker
On Thu, 2003-04-03 at 11:31, Rob Richards wrote: > Here is a patch for domxml which implements the set_attribute_node method. > > Located at: http://www.digarc.com/php_domxml.diff > > One thing to note is in the section where an attribute already exists. As > there can't be dunplicate attributes,

[PHP-DEV] pecl binaries in PHP Win releases?

2003-04-03 Thread Christian Stocker
Hi As it's quite hard/expensive for Windows users to compile their own extensions, is there a possibility to add some PECL-extensions into the Windows releases? Mainly there are ext/radius and ext/imagick, which I know do compile on Windows (and wouldn't add that much to the download, since ext/im

Re: [PHP-DEV] pecl binaries in PHP Win releases?

2003-04-03 Thread Jani Taskinen
On 3 Apr 2003, Christian Stocker wrote: >As it's quite hard/expensive for Windows users to compile their own >extensions, is there a possibility to add some PECL-extensions into the >Windows releases? Mainly there are ext/radius and ext/imagick, which I >know do compile on Windows (and wouldn't ad

Re: [PHP-DEV] pecl binaries in PHP Win releases?

2003-04-03 Thread Michael Bretterklieber
Hi, Jani Taskinen schrieb: On 3 Apr 2003, Christian Stocker wrote: As it's quite hard/expensive for Windows users to compile their own extensions, is there a possibility to add some PECL-extensions into the Windows releases? Mainly there are ext/radius and ext/imagick, which I know do compile on

RE: [PHP-DEV] pecl binaries in PHP Win releases?

2003-04-03 Thread Christian Joergensen
-Original Message- From: Michael Bretterklieber [mailto:[EMAIL PROTECTED] Sent: Thursday, April 03, 2003 1:24 PM To: Jani Taskinen Cc: [EMAIL PROTECTED] Subject: Re: [PHP-DEV] pecl binaries in PHP Win releases? > in general its a good idea, but I'm thinking about how > Webspace-Provid

Re: [PHP-DEV] pecl binaries in PHP Win releases?

2003-04-03 Thread Michael Bretterklieber
Christian Joergensen schrieb: -Original Message- From: Michael Bretterklieber [mailto:[EMAIL PROTECTED] Sent: Thursday, April 03, 2003 1:24 PM To: Jani Taskinen Cc: [EMAIL PROTECTED] Subject: Re: [PHP-DEV] pecl binaries in PHP Win releases? in general its a good idea, but I'm thinki

Re: [PHP-DEV] pecl binaries in PHP Win releases?

2003-04-03 Thread Dan Kalowsky
On Thursday, April 3, 2003, at 05:30 AM, Christian Stocker wrote: As it's quite hard/expensive for Windows users to compile their own extensions, is there a possibility to add some PECL-extensions into the Windows releases? Mainly there are ext/radius and ext/imagick, which I know do compile on W

Re: [PHP-DEV] pecl binaries in PHP Win releases?

2003-04-03 Thread Christian Stocker
On Thu, 2003-04-03 at 14:42, Dan Kalowsky wrote: > On Thursday, April 3, 2003, at 05:30 AM, Christian Stocker wrote: > > > As it's quite hard/expensive for Windows users to compile their own > > extensions, is there a possibility to add some PECL-extensions into the > > Windows releases? Mainly t

Re: [PHP-DEV] pecl binaries in PHP Win releases?

2003-04-03 Thread Dan Kalowsky
On Thursday, April 3, 2003, at 07:52 AM, Christian Stocker wrote: The ideas was not to add compiled extensions to snaps.php.net, but to compile them like all the other extensions are compiled on snaps.php.net. It just takes the source from pecl/whatever. The injection of bad code is much lower th

Re: [PHP-DEV] pecl binaries in PHP Win releases?

2003-04-03 Thread Wez Furlong
The main point of the signature is to allow the end-user to detect if a mirror site is holding tampered binary (or source) packages. I agree that a signature system is a good idea for releases that are destined to be mirrored, but it just doesn't seem to be much of a high priority for snaps which

[PHP-DEV] Re: [PHP-CVS] cvs: php4(PHP_4_3) / TODO_SEGFAULTS

2003-04-03 Thread Sascha Schumann
> -ob_start (3) > +ob_start (3) (Unable to reproduce - Moriyoshi) I still see them here. The segfault disappears when only valid output_handlers are used (the second chunk of the patch achieves that). Unless I'm missing something, there really is no purpose in preserv

Re: [PHP-DEV] Re: [Zend Engine 2] Type hints revisited [IllegalArgumentException instead of E_ERROR]

2003-04-03 Thread Stig S. Bakken
On Fri, 2003-03-28 at 15:03, Andi Gutmans wrote: > > Exceptions have a potential of leaking memory. I have mentioned in the past > that I wouldn't base my applications logic on exceptions but only use it in > error conditions to clean-up and/or give a nice message. You are talking > about using

[PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] Type hints revisited [IllegalArgumentException instead of E_ERROR]

2003-04-03 Thread Stig S. Bakken
On Fri, 2003-03-28 at 16:36, Brian Moon wrote: > | The point is that the SOAP (or whatever) library will be interfacing > | with code written by others. If those other people use type hints and > | it blows up with an E_ERROR, we don't have a nice way to handle this > | error and continue serving.

Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine2] Type hints revisited [IllegalArgumentException instead of E_ERROR]

2003-04-03 Thread Stig S. Bakken
Amen to that. Type checking at compile time and run time are _very_ different things. Just to voice my opinion on this type hint thingie: IMHO it's useless to have a type hinting feature that has no way of catching the wrong type passed. If it may be caught, great let's do that, if not let's nuk

[PHP-DEV] Registering PPP methods

2003-04-03 Thread Andrei Zmievski
Today I ran into a problem because I needed to register an internal class that had some protected methods. Currently, the only way to do it is by doing a zend_hash_find() on ce->function_table after registration and updating fn_flags field manually. We should find an easier way to specify fn_flags

[PHP-DEV] Module name change to mod_php5/libphp5

2003-04-03 Thread Jan Schneider
Hi, this is sort of a best-practices-question: I used to test our stuff with different PHP versions by having them in separate CVS checkouts and just calling "make install" in these directories and restarting Apache. This worked fine as long as all versions used the same names for their files, e

Re: [PHP-DEV] pecl binaries in PHP Win releases?

2003-04-03 Thread Shane Caraveo
Dan Kalowsky wrote: I would like to suggest that this NOT happen until we can provide an authorization mechanism. All it takes is one rogue extension compiled and written by someone outside of the PHP Group to destroy the already fragile trust in the PECL system. Is *any* windows binary distr

Re: [PHP-DEV] pecl binaries in PHP Win releases?

2003-04-03 Thread Dan Kalowsky
On Thu, 3 Apr 2003, Wez Furlong wrote: > The main point of the signature is to allow the end-user to detect if a > mirror site is holding tampered binary (or source) packages. > > I agree that a signature system is a good idea for releases that are > destined to be mirrored, but it just doesn't se

Re: [PHP-DEV] pecl binaries in PHP Win releases?

2003-04-03 Thread Wez Furlong
On Thu, 3 Apr 2003, Dan Kalowsky wrote: > I'm of the opinion that once we start down this path it cannot be > retracted. Thus, we should take every step possible to ensure it is done > right, and not in a half-assembled manner as this proposal requests. How is this different from building any of

Re: [PHP-DEV] Registering PPP methods

2003-04-03 Thread Marcus Börger
At 20:42 03.04.2003, Andrei Zmievski wrote: Today I ran into a problem because I needed to register an internal class that had some protected methods. Currently, the only way to do it is by doing a zend_hash_find() on ce->function_table after registration and updating fn_flags field manually. We sh

Re: [PHP-DEV] pecl binaries in PHP Win releases?

2003-04-03 Thread Dan Kalowsky
On Thursday, April 3, 2003, at 03:46 PM, Wez Furlong wrote: You're right that it's a moot point for 4.3. But if we ever hope to have PECL seen as a useful feature/functionality, now is the time to provide a stable framework, not after something has gone wrong (and it doesn't have to be from so

Re: [PHP-DEV] pecl binaries in PHP Win releases?

2003-04-03 Thread Wez Furlong
On Thu, 3 Apr 2003, Dan Kalowsky wrote: > On Thursday, April 3, 2003, at 03:46 PM, Wez Furlong wrote: > > How many third-party extensions are out there that have been compiled > > by > > someone other than our official snaps machine/Edin? > > How long have they been available? > > What about mirr

Re: [PHP-DEV] pecl binaries in PHP Win releases?

2003-04-03 Thread Christian Stocker
> For now, I see no reason not to make them available (provided that its > not too much effort for Edin to set up the build env on the snaps > machine). I agree here completely with Wez, I don't see a difference between compiling extensions from php4/ext to compiling pear/PECL extensions on snaps

[PHP-DEV] Additions to XML extension (xml.diff - big patch)

2003-04-03 Thread Chris Vandomelen
I've taken the time to make a bunch of changes to ext/xml over the past few days: XML_ExternalEntityParserCreate(): resource xml_external_entity_parser_create(resource orig_parser, string context [, string encoding]) Creates an external entity parser suitable for parsin

[PHP-DEV] Jumadi

2003-04-03 Thread Jumadi Francisco Simangunsong
How to make Socket with PHP best Regards: Jumadi Francisco Simangunsong. ___ | | | * | | **

[PHP-DEV] CVS Account Request: sywr

2003-04-03 Thread Abraham Chen
Hi, I'm a under-graduate student major in information management. I signup this account because I want to help Chinese PHP users to have more references( and resources) writing their own PHP web pages. I have seen the Simplified Chinese PHP manuals, it has developed almost completely, so I want

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

Re: [PHP-DEV] pecl binaries in PHP Win releases?

2003-04-03 Thread Michael Bretterklieber
Hi, Christian Stocker schrieb: For now, I see no reason not to make them available (provided that its not too much effort for Edin to set up the build env on the snaps machine). +1 I agree here completely with Wez, I don't see a difference between compiling extensions from php4/ext to compiling