[PHP-DEV] cvsclean removes pear/PEAR on OS X 10.2

2002-11-24 Thread Brad Bulger
I think this is the darned case-insensitivity causing a problem again. the pear/.cvsignore file lists 'pear' - meaning the installer, presumably - but when cvsclean does a remove of it, it ends up removing the PEAR directory. (this came up because the 10.2 upgrade installed a too-new version of

Re: [PHP-DEV] Re: #20596 [Opn-Bgs]: date function gives wrong result for format 't'

2002-11-24 Thread Michael Mauch
Derick Rethans [EMAIL PROTECTED] wrote: On Sat, 23 Nov 2002, Melvyn Sopacua wrote: So ehm - are Michael and Derick on a 'date' or what? At 16:57 23-11-2002, [EMAIL PROTECTED] wrote: http://bugs.php.net/?id=20596edit=1 http://bugs.php.net/?id=20592edit=1

[PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] Errors and exceptions?

2002-11-24 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-11-12 13:08:33 +0100: On Tue, 2002-11-12 at 07:54, Derick Rethans wrote: And that's why I would be -1 on the first one. However, the whole error reporting is a pretty mess, with some extensions implementing other 'philosiphies' then others. Getting this all nice

Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2]Errors and exceptions?

2002-11-24 Thread Sascha Schumann
On Sun, 24 Nov 2002, Roman Neuhauser wrote: # [EMAIL PROTECTED] / 2002-11-12 13:08:33 +0100: On Tue, 2002-11-12 at 07:54, Derick Rethans wrote: And that's why I would be -1 on the first one. However, the whole error reporting is a pretty mess, with some extensions implementing other

Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] Errors and exceptions?

2002-11-24 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-11-24 15:39:23 +0100: On Sun, 24 Nov 2002, Roman Neuhauser wrote: # [EMAIL PROTECTED] / 2002-11-12 13:08:33 +0100: On Tue, 2002-11-12 at 07:54, Derick Rethans wrote: And that's why I would be -1 on the first one. However, the whole error reporting is a

[PHP-DEV] hi memory usage with php-cli

2002-11-24 Thread Robin Ericsson
Hi, I have a huge xml-file with about 500k lines, which gives around 17000 products, which I import to a database. The problem is that the script is taking a lot of memory, about 100mb when it's finished. The script goes something like this $product = array(), then I add some values to the

RE: [PHP-DEV] hi memory usage with php-cli

2002-11-24 Thread Pete McCormick
Hi, For your $product array, are you using associative keys on each, so like: $product = array('name' = $name, 'art.no' = $artnum, ... ); If so, you might find that if you replaced the string keys with constants, you would save memory, because a constant is an integer and takes less storage

Re: [PHP-DEV] Re: #20596 [Opn-Bgs]: date function gives wrong resultfor format 't'

2002-11-24 Thread Derick Rethans
On Sun, 24 Nov 2002, Michael Mauch wrote: Derick Rethans [EMAIL PROTECTED] wrote: No, but Michael has no account to close the bogus reports :) True - just trying to answer the easy ones, so the PHP developers can save some time. And that is very much appreciated :) Derick --

[PHP-DEV] Capturing headers with output buffering?

2002-11-24 Thread David Brown
Hi: Architecturally speaking, is there any simple way to modify an sapi backend to return HTTP headers through the output buffering mechanism? As far as I can tell, headers are managed seperately by main/output.c, with php_ub_body_write_no_header being substituted in once the HTTP headers are

Re: [PHP-DEV] Capturing headers with output buffering?

2002-11-24 Thread George Schlossnagle
What are you trying to accomplish? On Sunday, November 24, 2002, at 05:40 PM, David Brown wrote: Hi: Architecturally speaking, is there any simple way to modify an sapi backend to return HTTP headers through the output buffering mechanism? As far as I can tell, headers are managed seperately

Re: [PHP-DEV] Capturing headers with output buffering?

2002-11-24 Thread David Brown
Hi George: It's something that's probably better solved in user-space, but I figured I'd poke around anyway. :) I'm attempting to write a little prefork HTTP server entirely in PHP. The script instansiates an 'application class', which is persistent across requests. Output of the application is

Re: [PHP-DEV] Capturing headers with output buffering?

2002-11-24 Thread George Schlossnagle
Bad idea or not (I don't think it will be fast and there are some problems with some of the ideas you want to pull off, imho) I certainly believe that reinventing the wheel can be a healthy exercise. That having been said, most of what you want to accomplish here requires a single lon-living

Re: [PHP-DEV] Capturing headers with output buffering?

2002-11-24 Thread Chris Shiflett
You can probably learn a lot by example. There is a pretty complete HTTP server written in PHP available here: http://nanoweb.si.kz/ Chris -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DEV] error reporting for PHP5

2002-11-24 Thread John Coggeshall
I've been cut off from my e-mail since Thursday, so I'm going to have to play catch-up a little here... Issue #1: Maxim's Error handling suggestions I completely agree with the concept of language-specific errors. I'll be happy to implement a system on that. However before we do that I think

RE: [PHP-DEV] [PATCH] Redirect on Error

2002-11-24 Thread John Coggeshall
[1] The annoying thing is that FATAL errors can't be handled by an error handler With the patch they can be handled without any issues. I don't like the 500 way either, because you simply loose the entire environment the bug occured in. You'll lose the entire environment in any

[PHP-DEV] Java extension fixes

2002-11-24 Thread Tony J . White
I'm made a stability fix to the PHP Java extension. A full description of the changes as well as the updated java.c file (and patch) can be found here: http://tjw.org/php_java/ Can someone please add this to CVS or should I contact Sam Ruby (the orignal author) to do it? -Tony -- PHP

Re: [PHP-DEV] Java extension fixes

2002-11-24 Thread Sebastian Bergmann
Tony J. White wrote: I'm made a stability fix to the PHP Java extension. A full description of the changes as well as the updated java.c file (and patch) can be found here: http://tjw.org/php_java/ Good to know that someone has the knowledge and the time to look after this abandoned

Re: [PHP-DEV] error reporting for PHP5

2002-11-24 Thread Michael Sims
On Mon, 25 Nov 2002 01:04:00 -0500, you wrote: As for custom error codes, I'm not sure how these would be handled in PHP... In fact, I'm not entirely convince that we really should have this sort of thing (i.e. trigger_error()). In my experience (and maybe I'm unique) I have never actually used

Re: [PHP-DEV] PHP Magick version 0.4a Released!

2002-11-24 Thread Christian Stocker
Hi I just had a very quick look at your code and didn't even try it out (lack of time...), but I'm just wondering, why you wrote you're own extension and didn't start with imagick from PECL ( http://pear.php.net/package-info.php?pacid=76 ) ? Maybe we really can join our efforts and do something