Re: [PHP-DEV] Anyone wrote persistent variable extension?

2002-04-09 Thread Yasuo Ohgaki
Edin Kadribasic wrote: > I'm using sysvshm and sysvsem for this sort of things. It did provide > dramatic speed difference with a static array of some 130 KB. However > sysvshm extension does not work on win32. I don't know if shmop works on > that platform. > I know there is sysvshm. But, I don

Re: [PHP-DEV] Anyone wrote persistent variable extension?

2002-04-09 Thread Yasuo Ohgaki
[EMAIL PROTECTED] wrote: > Hello Yasuo, > > why invent the wheel again? SRM already supports something like this. As > soon as 4.2 is released I'm going to work on it again. > > Derick I like SRM/msession :) I just need _very_ fast solution for static data that can be persistent at local mach

Re: [PHP-DEV] standard platform names

2002-04-09 Thread Stig S. Bakken
On Wed, 2002-04-10 at 02:52, Wez Furlong wrote: > On 10/04/02, "Stig S. Bakken" <[EMAIL PROTECTED]> wrote: > > "m68k-linux-amiga" it never dies, does it? > > :-) > > > The trickiest part here seems to be detecting libc version on Linux. Or > > is it enough to try reading symlinks in /lib?

Re: [PHP-DEV] basic_functions.c problem

2002-04-09 Thread derick
Hello, There is no such HAVE_MAIL at all in the source, and PHP_MINFO() is always defined, even if HAVE_SENDMAIL is undefined: ext/standard/mail.c:212: #else PHP_FUNCTION(mail) {} PHP_MINFO_FUNCTION(mail) {} #endif regards, Derick On Tue, 9 Apr 2002, fabwash wrote: > sorry I meant HAVE_MA

Re: [PHP-DEV] Anyone wrote persistent variable extension?

2002-04-09 Thread Sebastian Bergmann
Edin Kadribasic wrote: > I don't know if shmop works on that platform. ext/shmop works on Win32, but without Semaphores it's pointless :-) -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.seba

Re: [PHP-DEV] Anyone wrote persistent variable extension?

2002-04-09 Thread derick
Hello Yasuo, why invent the wheel again? SRM already supports something like this. As soon as 4.2 is released I'm going to work on it again. Derick On Wed, 10 Apr 2002, Yasuo Ohgaki wrote: > It sounds like a lot of work is expected for msession. > So, I'll write a simple one. > > [RFC for Ne

Re: [PHP-DEV] Anyone wrote persistent variable extension?

2002-04-09 Thread Edin Kadribasic
> [RFC for New Module] > Module name: psv (Persistent Server Variable) > Feature: > Maintain auto global $_PERSISTENT array that persists > on single server. > Function: > none. > > Implementtion: > Shared memory (libmm) for multi-process server. > Multi-thread server uses global with lo

[PHP-DEV] REPOST: [STREAMS] ext/gd does not compile on Win32

2002-04-09 Thread Sebastian Bergmann
Unresolved external symbol: _php_stream_stdio_ops -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/ -- PHP Development Mailing List To unsubscribe,

Re: [PHP-DEV] basic_functions.c problem

2002-04-09 Thread derick
Looks like an easy thing, i'll check it out. Derick On Tue, 9 Apr 2002, fabwash wrote: > sorry I meant HAVE_MAIL > > Fab. > - Original Message - > From: fabwash > To: [EMAIL PROTECTED] > Sent: Tuesday, April 09, 2002 10:09 PM > Subject: [PHP-DEV] basic_functions.c problem

Re: [PHP-DEV] Anyone wrote persistent variable extension?

2002-04-09 Thread Yasuo Ohgaki
[EMAIL PROTECTED] wrote: >>[EMAIL PROTECTED] wrote: >> >>>That could be a pretty cool extension. Should be >> >> > trivial to write. If no one else does, I will after >> >>>msession 1.0 is out of beta and released. >> >> >>Do you have any idea how long will it take? >>If it's short, I can

Re: [PHP-DEV] Anyone wrote persistent variable extension?

2002-04-09 Thread mlwmohawk
> [EMAIL PROTECTED] wrote: >> That could be a pretty cool extension. Should be > > trivial to write. If no one else does, I will after >> msession 1.0 is out of beta and released. > > Do you have any idea how long will it take? > If it's short, I can wait rather than writing > one by my

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /main spprintf.c spprintf.h

2002-04-09 Thread Sebastian Bergmann
"Marcus Börger" wrote: > helly Tue Apr 9 21:09:23 2002 EDT > > Added files: > /php4/main spprintf.c spprintf.h > Log: > introducing spprintf and vspprintf > #mail follows This breaks the Win32 build. The following patch is a start at fixing it Index: php4dllts.dsp ==

Re: [PHP-DEV] Re: Crash in Apache2Filter

2002-04-09 Thread Sebastian Bergmann
Cliff Woolley wrote: > (And more generally a series of patches to fix and optimize the > apache2filter. :) Sounds nice :) -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.

Re: [PHP-DEV] Re: Crash in Apache2Filter

2002-04-09 Thread Cliff Woolley
On Sat, 6 Apr 2002, Sebastian Bergmann wrote: > > Sebastian Bergmann wrote: > > Seems like only my reply to the initial post got through: > > ap_save_brigade(ap_filter_t * 0x00800e40, apr_bucket_brigade * * > 0x00800a8c, apr_bucket_brigade * * 0x10e6fe6c, apr_pool_t * 0x007ff898) > line 562 + 4

[PHP-DEV] Zend/SAPI question about conditional compilations

2002-04-09 Thread Aaron Bannert
Can I use a build of Zend/SAPI that was built against one sapi type against a different type w/o rebuilding, or are there compile-time conditionals built in to the binaries? If this is not possible, we'd like to modify the SAPI to allow for overriding of the YY_INPUT macro produced by flex to cal

Re: [PHP-DEV] Anyone wrote persistent variable extension?

2002-04-09 Thread Yasuo Ohgaki
[EMAIL PROTECTED] wrote: >>Did anyone write module for persistent variable module? > > There is msession you know :-) > >> >>I have large static lookup array loaded every time. >>It's waste of resource, so I would like to make it >>persistent. >> >>I thought someone wrote it already. >>I

[PHP-DEV] New port

2002-04-09 Thread fabwash
Celebrate!   First port on the NonStop Himalaya System! frog:./php test.phpX-Powered-By: PHP/4.1.2Content-type: text/html Hello Worldfrog: Now I have to run the QA tests.. that's where the fun starts. I will need an expert with ./configure and buildconf when I have a stable executable bec

[PHP-DEV] msession beta 2

2002-04-09 Thread mlwmohawk
If anyone is using msession, beta 2 is up on my website. http://www.mohawksoft.com For those of you that do not know what msession is, it is a system for managing session information across multiple PHP systems. It is like a networked mm save handler, but it also has custom features that can

Re: [PHP-DEV] Anyone wrote persistent variable extension?

2002-04-09 Thread mlwmohawk
> Did anyone write module for persistent variable module? There is msession you know :-) > > I have large static lookup array loaded every time. > It's waste of resource, so I would like to make it > persistent. > > I thought someone wrote it already. > If you did, could you post URL to

[PHP-DEV] Anyone wrote persistent variable extension?

2002-04-09 Thread Yasuo Ohgaki
Did anyone write module for persistent variable module? I have large static lookup array loaded every time. It's waste of resource, so I would like to make it persistent. I thought someone wrote it already. If you did, could you post URL to download? PS: I'm looking for solution that uses local

Re: [PHP-DEV] basic_functions.c problem

2002-04-09 Thread fabwash
sorry I meant HAVE_MAIL   Fab. - Original Message - From: fabwash To: [EMAIL PROTECTED] Sent: Tuesday, April 09, 2002 10:09 PM Subject: [PHP-DEV] basic_functions.c problem Hi,   if a system doesn't have sendmail, HAVE_SENDMAIL is not defined in php_c

[PHP-DEV] basic_functions.c problem

2002-04-09 Thread fabwash
Hi,   if a system doesn't have sendmail, HAVE_SENDMAIL is not defined in php_config.h. When you try to compile basic_functions.c you generate an unresolved reference.   in PHP_MINFO_FUNCTIONS it referencesPHP_MINFO(mail) which will be undefined from php_mail.h if HAVE_SENDMAIL is undefined.

[PHP-DEV] (v)spprintf

2002-04-09 Thread Marcus Boerger
I just implemented spprintf and vpprintf. Both are nearly the same as (v)snprintf. The difference is that using vspprintf you usee a dynamically allocated buffer which *can* have a maximum length. To reduce runtime cost the functions reallocate in buffers of 1K. The old value of *pbuf is ignored a

Re: [PHP-DEV] Re: aggregate() und overload()

2002-04-09 Thread Wez Furlong
If we had it, I think it would need to be a little bit more concise; it looks a little bit messy (sorry Marcus!). class A { private var $_X; protected function set_X($newX) { $this->_X = $newX; } public property X read $_X, write set_X; } On 10/04/02, "Shane Caraveo" <[EM

Re: [PHP-DEV] standard platform names

2002-04-09 Thread Wez Furlong
On 10/04/02, "Stig S. Bakken" <[EMAIL PROTECTED]> wrote: > "m68k-linux-amiga" it never dies, does it? :-) > The trickiest part here seems to be detecting libc version on Linux. Or > is it enough to try reading symlinks in /lib? You might find that you need to do some glibc checks on m68k

Re: [PHP-DEV] apache2filter efficiency

2002-04-09 Thread Aaron Bannert
On Sat, Apr 06, 2002 at 07:56:56AM -0500, Jim Jagielski wrote: > Aaron Bannert wrote: > > > > I think a good way to take advantage of the filter system would be > > to break the input stream into buckets of two types: constant strings > > and PHP script code. As flex/bison needs to be fed more da

Re: [PHP-DEV] Aggregation, Multiple Inheritence, pros/cons

2002-04-09 Thread Marcus Börger
At 01:22 10.04.2002, fabwash wrote: >Yes I agree to everything you say, I was just pointing out examples. How >many OO programmers understand OO ? Giving them rules to adhere to and >not letting them hack the language for their own benefit, just because they >don't understand the concept of

Re: [PHP-DEV] Aggregation, Multiple Inheritence, pros/cons

2002-04-09 Thread fabwash
Yes I agree to everything you say, I was just pointing out examples. How many OO programmers understand OO ? Giving them rules to adhere to and not letting them hack the language for their own benefit, just because they don't understand the concept of the language is, to my view, better. I'm

[PHP-DEV] MI/Aggregation/Interfaces: simple examples

2002-04-09 Thread fabwash
Hello,   for those that are trying to follow the discussion but are not sure of what is what, here are some simple examples that I hope will help you.   Inheritance: LivingRoom and Bathroom inherit the attributes and functionalities of a Room. This relationship is called a "is-a" relationship

[PHP-DEV] should ZEND_FETCH_RESOURCE return false or null on failure?

2002-04-09 Thread Jim Winstead
http://bugs.php.net/15153 shows the resulting fun from this distinction. yes, the user should be checking the result of opendir(). unfortunately, the examples in the documentation didn't. (which i've fixed now.) jim -- PHP Development Mailing List To unsubscribe, visit: h

[PHP-DEV] standard platform names

2002-04-09 Thread Stig S. Bakken
Hi, I'm about to start adding support for platform-specific stuff in the PEAR installer (prebuilt extensions, .bat/.cmd scripts for windows, shell scripts for unix and so on). To do this I need a standard way of describing the system PHP runs on. I guess the important bits of information are:

Re: [PHP-DEV] Re: aggregate vs MI

2002-04-09 Thread Wez Furlong
On 10/04/02, "Zeev Suraski" <[EMAIL PROTECTED]> wrote: > Hmm, you refer to interfaces a-la COM? Hmm, I was under the impression > that if we use interfaces, it'll be the same as Java, and then what you > said about naming conflicts doesn't apply at all. QueryInterface() is a > hack, which may

Re: [PHP-DEV] Supporting Apache 2 with PHP 4.2.0

2002-04-09 Thread Aaron Bannert
On Tue, Apr 09, 2002 at 12:03:51PM +0200, Derick Rethans wrote: > after a little discussion on IRC, we came to the conclusion that it is not > a good idea to say that php 4.2.0 supports apache 2. The reasoning behind > is that we are not even 50% sure if apache 2(.0.35) works correctly, or > th

RE: [PHP-DEV] Session patch for ID created by handler

2002-04-09 Thread Mårten Gustafsson
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Friday, March 29, 2002 3:17 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: [PHP-DEV] Session patch for ID created by handler > > > So have we discussed this enough, can I just apply it and be

RE: [PHP-DEV] error handler callback gets silenced errors

2002-04-09 Thread Marten Gustafsson
I think the current behaviour is fine. The user defined error handler should get silenced errors as well, then it?s up to the developer to decide wether to ignore them or not. Marten. > -Original Message- > From: Zeev Suraski [mailto:[EMAIL PROTECTED]] > Sent: Sunday, March 31, 2002

Re: [PHP-DEV] Re: aggergate vs MI

2002-04-09 Thread Marcus Börger
At 20:30 09.04.2002, you wrote: >>I'm personally in favour of having MI in PHP, with the serious >>alternative being interfaces. I have failed to understand what >>interfaces would mean in a language such as PHP, though, while I can see >>the clear hands-on use for MI. Can you explain how yo

Re: [PHP-DEV] ext/standard/dl.c: DL_ERROR()

2002-04-09 Thread Marko Karppinen
> is DL_ERROR() something that is normally defined? the patch to add Mac > OS X support changed the GET_DL_ERROR() macro to call this instead of > dlerror(), which broke the build for me on debian/unstable. Yes. It's defined in Zend. Sync time... --Marko -- PHP Development Mailing List

[PHP-DEV] ext/standard/dl.c: DL_ERROR()

2002-04-09 Thread Jim Winstead
is DL_ERROR() something that is normally defined? the patch to add Mac OS X support changed the GET_DL_ERROR() macro to call this instead of dlerror(), which broke the build for me on debian/unstable. jim -- PHP Development Mailing List To unsubscribe, visit: http://www.ph

[PHP-DEV] sockets: half documentation problem, half feature request

2002-04-09 Thread Steve Meyers
I've been trying to figure out how to know when a connection is dead when the socket is non-blocking. It seems to return the same error code (11) whether the connection is dead or if no data is waiting. On the socket_read() manual page, it says to see also socket_get_status(), which sounds l

RE: [PHP-DEV] zend questions and bug #15333

2002-04-09 Thread Joseph Tate
I've looked at it in the debugger immediately before the access violation and have found that both the pointer to the char* to be copied and the length are garbage, so it's not the lib. > -Original Message- > From: Rose, Billy [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, April 09, 2002 3:2

RE: [PHP-DEV] zend questions and bug #15333

2002-04-09 Thread Rose, Billy
In your stack dump, the function call that bombed was memcpy in the MS lib. Looking at the source in zend_alloc.c, I find that the lib's memcpy function is used. The way I finally tracked down my problem was tedious as hell, but I put the MS debug macro just before the function that was failing (i

RE: [PHP-DEV] zend questions and bug #15333

2002-04-09 Thread Joseph Tate
zend_strndup is a php implementation. It does not use the strndup function available through MS's library. The problem occurs because a length of 100 or more is passed in, signifying to me that the source of that length has become corrupted or not initialized. I've traced that back to the g

RE: [PHP-DEV] zend questions and bug #15333

2002-04-09 Thread Rose, Billy
Forgot to mention, the algorithm in the MS lib is what is faulty. It overruns the buffer at times. Billy Rose [EMAIL PROTECTED] > -Original Message- > From: Joseph Tate [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, April 09, 2002 1:41 PM > To: Php-Dev List > Subject: [PHP-DEV] zend questi

RE: [PHP-DEV] zend questions and bug #15333

2002-04-09 Thread Rose, Billy
Is this using the Microsoft libraries? If so, I have encountered similar string function problems while creating an NT service. In the MS libs, strings are handled as 32 bit integers with any odd bytes masked off at the end of the string. The rep counter increments 4 times per iteration until odd

Re: [PHP-DEV] Re: aggregate() und overload()

2002-04-09 Thread Shane Caraveo
> > What if we would use declared properties? > > := property = { }; > := [, ] > := | > := read = | > := write = | > > class A { > private var $_X; > > protected function set_X($newX) { > $this->_X = $newX; > } > > pub

[PHP-DEV] zend questions and bug #15333

2002-04-09 Thread Joseph Tate
http://bugs.php.net/15333 I've narrowed down the problem, but can't seem to get anywhere with it. The state of the server when the problem occurrs: All serviceable threads have been killed or have timed out. A request is received prompting the spawning of a new thread. The new thread then goes

Re: [PHP-DEV] Re: aggergate vs MI

2002-04-09 Thread Shane Caraveo
> > I'm personally in favour of having MI in PHP, with the serious > alternative being interfaces. I have failed to understand what > interfaces would mean in a language such as PHP, though, while I can see > the clear hands-on use for MI. Can you explain how you envision > interfaces as u

[PHP-DEV] Another segfault (PHP, Win32)

2002-04-09 Thread Sebastian Bergmann
Win32, Apache 2.0.36-dev (CVS), PHP 4.3.0-dev (CVS) The following segfault occurs when a PHP extension cannot be loaded, that is enabled in php.ini, but not compatible with the PHP build: php_apache_sapi_log_message(char * 0x0012f1cc) line 198 + 14 bytes php_log_err(char * 0x0012f1cc, void

[PHP-DEV] Compile error

2002-04-09 Thread Sebastian Bergmann
c:\home\php\php4\sapi\apache2filter\php_functions.c(91): error C2059: Syntax error : '(' c:\home\php\php4\sapi\apache2filter\php_functions.c(92): error C2059: Syntax error : '(' -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you?

Re: [PHP-DEV] Re: aggergate vs MI

2002-04-09 Thread fab wash
I totally agree with point 2). However on point 1, MI allows you to inherit from non-abstract classes, which causes problems (I will send an email later tonight about those problems, my laptop crashed when I sent it this morning). If there was enforcement for allowing only abstract classes to b

RE: [PHP-DEV] Supporting Apache 2 with PHP 4.2.0

2002-04-09 Thread Rose, Billy
PHP-DEV-Apache2 mailing list? Billy Rose [EMAIL PROTECTED] > -Original Message- > From: Stig S. Bakken [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, April 09, 2002 11:14 AM > To: James Cox > Cc: Stig S. Bakken; Jani Taskinen; Derick Rethans; PHP > Quality Assurance > TeamMailing List; PH

Re: [PHP-DEV] Re: aggergate vs MI

2002-04-09 Thread Zeev Suraski
You described my thoughts *perfectly* - thanks :) Zeev At 16:26 09/04/2002, Lauri Liinat wrote: >hi all, > > > I'm personally in favour of having MI in PHP, with the serious alternative > > being interfaces. I have failed to understand what interfaces would mean > > in a language such as PHP, t

Re: [PHP-DEV] Re: aggergate vs MI

2002-04-09 Thread Zeev Suraski
At 14:03 09/04/2002, Wez Furlong wrote: >On 09/04/02, "Zeev Suraski" <[EMAIL PROTECTED]> wrote: > > COM's a hack, though. It really is. > > What they did in ATL basically > > does a fair amount of magic to give you the ability to inherit code with > > COM's strict binary compatible model... > >CO

RE: [PHP-DEV] Re: aggergate vs MI

2002-04-09 Thread Zeev Suraski
At 13:12 09/04/2002, Pierre-Alain Joye wrote: > > I have failed to understand what interfaces would mean > > in a language such as PHP, though, while I can see the clear hands-on use > > for MI. Can you explain how you envision interfaces as useful constructs > > in PHP, and their advantages ove

RE: [PHP-DEV] Supporting Apache 2 with PHP 4.2.0

2002-04-09 Thread Stig S. Bakken
The point here is that "delta stability" >= 0. It didn't work before, it's not worse now. The worst thing that could happen is that we get a bunch of useful bug reports (or even patches) amidst the hailstorm of complains or bogus reports we get either way. - Stig On Tue, 2002-04-09 at 18:02,

RE: [PHP-DEV] Supporting Apache 2 with PHP 4.2.0

2002-04-09 Thread James Cox
because it's broken? -Original Message- From: Stig S. Bakken [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 09, 2002 4:45 PM To: Jani Taskinen Cc: Derick Rethans; PHP Quality Assurance TeamMailing List; PHP Developers Mailing List Subject: Re: [PHP-DEV] Supporting Apache 2 with PHP 4.2.0

RE: [PHP-DEV] Re: Supporting Apache 2 with PHP 4.2.0

2002-04-09 Thread Robinson, Mike
Title: RE: [PHP-DEV] Re: Supporting Apache 2 with PHP 4.2.0 > -Original Message- > From: Yasuo Ohgaki writes: > If I have to choose, I'll keep apache2 support and try > to let users know it's only good for experiment. > Let them fill bug reports so that we can fix for PHP4.3.0. > (I

RE: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] RE: [PHP-QA] Supporting Apache 2 with PHP 4.2.0

2002-04-09 Thread Robinson, Mike
Title: RE: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] RE: [PHP-QA] Supporting Apache 2 with PHP 4.2.0 Markus Fischer writes: > > IMHO, removing Apache2 support will not affect the number of > > Apache2-related bugs reported > > How can there be if we remove apache2 completely ? :) Why do we

Re: [PHP-DEV] Supporting Apache 2 with PHP 4.2.0

2002-04-09 Thread Stig S. Bakken
We include apache2 support in a bunch of releases while Apache 2 is in alpha, but when it's GA-released, we drop the support? What's the sense in that? :-) - Stig On Tue, 2002-04-09 at 12:12, Jani Taskinen wrote: > > +1 for dropping it from 4.2.0 > > --Jani > > > On Tue, 9

Re: [PHP-DEV] Re: aggergate vs MI

2002-04-09 Thread Stig S. Bakken
On Tue, 2002-04-09 at 16:47, brad lafountain wrote: > > --- Lauri Liinat <[EMAIL PROTECTED]> wrote: > > > > hi all, > > > > > I'm personally in favour of having MI in PHP, with the serious alternative > > > being interfaces. I have failed to understand what interfaces would mean > > > in a la

[PHP-DEV] Re: Supporting Apache 2 with PHP 4.2.0

2002-04-09 Thread Yasuo Ohgaki
Derick Rethans wrote: > Hello, > > after a little discussion on IRC, we came to the conclusion that it is not > a good idea to say that php 4.2.0 supports apache 2. The reasoning behind > is that we are not even 50% sure if apache 2(.0.35) works correctly, or > that the filter works correctly.

Re: [PHP-DEV] Re: aggergate vs MI

2002-04-09 Thread brad lafountain
--- Lauri Liinat <[EMAIL PROTECTED]> wrote: > > hi all, > > > I'm personally in favour of having MI in PHP, with the serious alternative > > being interfaces. I have failed to understand what interfaces would mean > > in a language such as PHP, though, while I can see the clear hands-on use

RE: [PHP-DEV] Re: [PHP-QA] Supporting Apache 2 with PHP 4.2.0

2002-04-09 Thread Stanislav Malyshev
RB>> Which client library are you using? The bundled one, I think... -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.115 -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: [PHP-QA] Supporting Apache 2 with PHP 4.2.0

2002-04-09 Thread Jan Lehnardt
Hi, On Tue, 9 Apr 2002 12:03:51 +0200 (CEST) Derick Rethans <[EMAIL PROTECTED]> wrote: > I am not confident > that apache 2 / PHP 4.2.0 is stable enough for production yet, and > therefore recommend to drop the apache2filter from the release branch. "If > you can't do it properly, don't do it"

Re: [PHP-DEV] CVS Account Request: devuser

2002-04-09 Thread Jan Lehnardt
Hi, On 9 Apr 2002 06:09:15 - "devuser" <[EMAIL PROTECTED]> wrote: > learn > you don't need a cvs account to learn PHP. Please look at http://www.php.net/manual Jan -- Q: Thank Jan? A: http://geschenke.an.dasmoped.net/ -- PHP Development Mailing List To unsubscribe,

RE: [PHP-DEV] Re: [PHP-QA] Supporting Apache 2 with PHP 4.2.0

2002-04-09 Thread Rose, Billy
Which client library are you using? Billy Rose [EMAIL PROTECTED] -Original Message- From: Stanislav Malyshev [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 09, 2002 9:20 AM To: Rose, Billy Cc: PHP Developers Mailing List Subject: RE: [PHP-DEV] Re: [PHP-QA] Supporting Apache 2 with PHP

Re: [PHP-DEV] Re: aggergate vs MI

2002-04-09 Thread Marcus Börger
At 15:26 09.04.2002, Lauri Liinat wrote: >hi all, > > > I'm personally in favour of having MI in PHP, with the serious alternative > > being interfaces. I have failed to understand what interfaces would mean > > in a language such as PHP, though, while I can see the clear hands-on use > > for MI

[PHP-DEV] PHP probkems with Apache 2.0.35

2002-04-09 Thread Andrey Hristov
May we place somewhere on the bug page or on the site that there are problems in compiling PHP with 2.0.35 support. I write this because too many people reports for this without searching if there is such a thing. Regards, Andrey -- PHP Development Mailing List To unsu

RE: [PHP-DEV] Re: [PHP-QA] Supporting Apache 2 with PHP 4.2.0

2002-04-09 Thread Stanislav Malyshev
RB>> Which mysql functions are causing the segfault? I currently have PHP RB>> 4.2.0RC2 + Apache 2.0.35 running on my test machine and PHP 4.1.2 + RB>> Apache 2.0.32 running on a production machine with 1.3.22 on it in RB>> case things go sour. for me, mysql_connect segfaults in gethostname, but

RE: [PHP-DEV] Re: [PHP-QA] Supporting Apache 2 with PHP 4.2.0

2002-04-09 Thread Rose, Billy
Which mysql functions are causing the segfault? I currently have PHP 4.2.0RC2 + Apache 2.0.35 running on my test machine and PHP 4.1.2 + Apache 2.0.32 running on a production machine with 1.3.22 on it in case things go sour. Billy Rose [EMAIL PROTECTED] -Original Message- From: Stanisla

Re: [PHP-DEV] classes, instances & objects in ZE2

2002-04-09 Thread Andrey Hristov
- Original Message - From: "Marcus Börger" <[EMAIL PROTECTED]> Subject: Re: [PHP-DEV] classes, instances & objects in ZE2 >I think this is a key discussion for PHP. Do we want PHP to be acceptable >for big projects or not? +1 on that. And +1 on discussion if there will be some kind of

Re: [PHP-DEV] Aggregation, Multiple Inheritence, pros/cons

2002-04-09 Thread Marcus Börger
At 15:57 09.04.2002, Wez Furlong wrote: >On 09/04/02, "Marcus Börger" <[EMAIL PROTECTED]> wrote: > > Where does C++ has aggregation? > >C++ has templates which can be used for aggregation purposes. >(The Active Template Library, for example). > >--Wez. Ok. But templates are C++ way of parametric

Re: [PHP-DEV] sections in httpd.conf?

2002-04-09 Thread Rasmus Lerdorf
There are no plans for this. I looked at it for Apache 1.3 and there is no clean way to do it. Yes, I know mod_perl can do it, but it is a very very ugly hack. It may be easier and cleaner to do it for Apache 2.0. Haven't looked at that yet. -Rasmus On Tue, 9 Apr 2002, adam wrote: > Hi there

Re: [PHP-DEV] Aggregation, Multiple Inheritence, pros/cons

2002-04-09 Thread Wez Furlong
On 09/04/02, "Marcus Börger" <[EMAIL PROTECTED]> wrote: > Where does C++ has aggregation? C++ has templates which can be used for aggregation purposes. (The Active Template Library, for example). --Wez. -- PHP Development Mailing List To unsubscribe, visit: http://www.p

Re: [PHP-DEV] Re: aggregate() und overload()

2002-04-09 Thread Marcus Börger
At 09:47 08.04.2002, you wrote: >Andrei Zmievski wrote: > > Please expound on this. I would like to hear specific > > problems you see existing with __get_x() callbacks. > >As of now, this is just an unspecified bad feeling of mine. >I only can back up this with the two times we had special names

Re: [PHP-DEV] Supporting Apache 2 with PHP 4.2.0

2002-04-09 Thread Edin Kadribasic
> How can there be if we remove apache2 completely ? :) They'll probably enter bug reports saying that --with-apxs does not work with apache 2.0.35. I think it's better to release unstable code provided that it is marked so, than to release nothing at all. Edin -- PHP Development Mailing

Re: [PHP-DEV] Re: aggergate vs MI

2002-04-09 Thread Lauri Liinat
hi all, > I'm personally in favour of having MI in PHP, with the serious alternative > being interfaces. I have failed to understand what interfaces would mean > in a language such as PHP, though, while I can see the clear hands-on use > for MI. 1) the whole concept of interfaces as they ar

Re: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] RE: [PHP-QA] Supporting Apache 2 with PHP 4.2.0

2002-04-09 Thread Markus Fischer
Heh, *I* give a shit for /., honestly. I prefer a working and Q&A'd release "it's done when it's done". That says it all. But that's only my opinion. On Tue, Apr 09, 2002 at 03:13:07PM +0200, Stefan Esser wrote : > Morning, > > > How can there be if we remove apache2 compl

Re: [PHP-DEV] Aggregation, Multiple Inheritence, pros/cons

2002-04-09 Thread Marcus Börger
At 13:40 09.04.2002, fabwash wrote: >The thesis I mentionned before starts by saying this: > >"One of the main reasons why inheritence is a fuzzy concept in >implementation languages is the fact that it can be used very liberally, >allowing redefinition and even cancellation of derived properties.

[PHP-DEV] Re: Crash in Apache2Filter

2002-04-09 Thread Brian Havard
Sebastian Bergmann wrote: > Win32, Apache 2.0.36-dev, PHP 4.2.0-dev (both current CVS) > > ap_save_brigade(ap_filter_t * 0x00800e40, apr_bucket_brigade * * > 0x00800a8c, apr_bucket_brigade * * 0x10e6fe6c, apr_pool_t * 0x007ff898) > line 562 + 49 bytes > php_output_filter(ap_filter_t * 0x00800e4

Re: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] RE: [PHP-QA] Supporting Apache 2 with PHP 4.2.0

2002-04-09 Thread Stefan Esser
Morning, > How can there be if we remove apache2 completely ? :) Hmm i don't know how much work must be put into the apache2 support i just know that people are discussing everywhere (f.e. slashdot) when finally PHP will support Apache2. It depends what you like more... Beta code tested in t

Re: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] RE: [PHP-QA] Supporting Apache 2 with PHP 4.2.0

2002-04-09 Thread Markus Fischer
On Tue, Apr 09, 2002 at 08:39:01AM -0400, Robinson, Mike wrote : > Jani Taskinen writes: > > > I'd rather have 4.2.0 released without the apache2 support > > and work on the code to get it work for real and release > > 4.2.1 with the fixed support. > > IMHO, removing Apache2 suppo

Re: [PHP-DEV] Aggregation, Multiple Inheritence, pros/cons

2002-04-09 Thread Marko Karppinen
Kristian wrote: > Objective-C had interfaces, which were in fact such lists of > instance variables and methods, and it had categories, which > could be implementations of interfaces which could then be > imported into a class (but could be used in other ways as well). I strongly object (no pun i

RE: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] RE: [PHP-QA] Supporting Apache 2 with PHP 4.2.0

2002-04-09 Thread Robinson, Mike
Title: RE: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] RE: [PHP-QA] Supporting Apache 2 with PHP 4.2.0 Jani Taskinen writes: > I'd rather have 4.2.0 released without the apache2 support > and  work on the code to get it work for real and release > 4.2.1 with the fixed support. IMHO,

Re: [PHP-DEV] XML-RPC extension

2002-04-09 Thread Stig S. Bakken
On Mon, 2002-02-25 at 16:55, Andrey Hristov wrote: > Hi > Does someone is writing(or plannning to) XML-RPC extension? > I tried Edd Dumbill's code. When trying to send/receive small amount of data - no >problems. Not fast as a light but satisfying - > 0.2s. > When I tried to receive big PHP arra

Re: [PHP-DEV] sections in httpd.conf?

2002-04-09 Thread Adam Voigt
I think your talking about being able to create virtual hosts with PHP on the fly, I can't be sure though as I have been lucky enough not have had to use perl =). But if that is what you would like to do, I would suggest just using mod_vhost_alias in Apache (http://httpd.apache.org/docs/mod/mod_vh

[PHP-DEV] Aggregate, MI and session?

2002-04-09 Thread Yasuo Ohgaki
Just curious, Has anyone tested if aggregated object var can be registered as session var? It sounds like it does not work at all. If it work, it's gresat, though. If it's MI, it sounds like it can be registered as session var w/o problem. -- Yasuo Ohgaki -- PHP Development Mailing List

Re: [PHP-DEV] Aggregation, Multiple Inheritence, pros/cons

2002-04-09 Thread fabwash
The thesis I mentionned before starts by saying this: "One of the main reasons why inheritence is a fuzzy concept in implementation languages is the fact that it can be used very liberally, allowing redefinition and even cancellation of derived properties. This is motivated by code reuse, where e

RE: [PHP-DEV] Re: aggergate vs MI

2002-04-09 Thread Marcus Börger
At 12:32 09.04.2002, Pierre-Alain Joye wrote: > > Would it be so bad allowing closed source? >I really do not care, but I really appreciate and use only ( for my dev ) >open sources products, but that is not the question, and was a joke ==> ;) >:)) > > > I think having one of MI, aggregation and i

Re: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] RE: [PHP-QA] SupportingApache 2 with PHP 4.2.0

2002-04-09 Thread Jani Taskinen
It's related since if we release something that we know has bugs, and even if we say it won't work correctly, people still will use it and report bugs about it. And as we have already seen, they will report same bugs over and over again. It's pretty annoying to reply to them

[PHP-DEV] sections in httpd.conf?

2002-04-09 Thread adam
Hi there, [Please copy replies off-list.] Are there any plans to introduce on-the-fly Apache configuration in PHP, similar to mod_perl's PerlSections? As an administrator of a Cobalt RaQ server (sorry), I discovered PerlSections a couple of years ago; and have experimented with, for example, gen

RE: [PHP-DEV] Re: aggergate vs MI

2002-04-09 Thread Lukas Smith
Indeed. I would very much like it. It could open new doors to work with partner companies that can extend what ever we supply them with (which is closed source for the most part) Sounds like a smart thing for Zend to implement :-) (As do so many other things ... maybe we should first all work tog

RE: [PHP-DEV] Re: aggergate vs MI

2002-04-09 Thread Wez Furlong
On 09/04/02, "Pierre-Alain Joye" <[EMAIL PROTECTED]> wrote: > > I have failed to understand what interfaces would mean > > in a language such as PHP, though, while I can see the clear hands-on use > > for MI. Can you explain how you envision interfaces as useful constructs > > in PHP, and their a

Re: [PHP-DEV] Re: aggergate vs MI

2002-04-09 Thread Wez Furlong
On 09/04/02, "Zeev Suraski" <[EMAIL PROTECTED]> wrote: > COM's a hack, though. It really is. > What they did in ATL basically > does a fair amount of magic to give you the ability to inherit code with > COM's strict binary compatible model... COM implemented in C/C++ is, as you say, a hack. W

RE: [PHP-DEV] Re: aggergate vs MI

2002-04-09 Thread Pierre-Alain Joye
> Would it be so bad allowing closed source? I really do not care, but I really appreciate and use only ( for my dev ) open sources products, but that is not the question, and was a joke ==> ;) :)) > I think having one of MI, aggregation and interfaces is essential for OO > modelling. I m not a p

RE: [PHP-DEV] Re: aggergate vs MI

2002-04-09 Thread Marcus Börger
At 12:12 09.04.2002, Pierre-Alain Joye wrote: > > I have failed to understand what interfaces would mean > > in a language such as PHP, though, while I can see the clear hands-on use > > for MI. Can you explain how you envision interfaces as useful constructs > > in PHP, and their advantages ove

[PHP-DEV] RE: [PHP-QA] Re: [PHP-DEV] RE: [PHP-QA] Supporting Apache 2 with PHP 4.2.0

2002-04-09 Thread James Cox
> Actually I personnaly don't think 'we cannot declare it stable' leads to > 'we cannot release it'. Why just not say 'Apache 2 support is unstable, > use it on your own risk and only if you know what you are doing'? As you mentioned, it caused segfaults in mysql. as Derick mentioned, we haven'

[PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] RE: [PHP-QA] Supporting Apache 2 withPHP 4.2.0

2002-04-09 Thread Stanislav Malyshev
JT>> Will you reply to all those bug reports then? Well, probably I personally not. But how it's related to anything? -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.115 -- PHP Development Mailing List To

[PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] RE: [PHP-QA] Supporting Apache 2 withPHP 4.2.0

2002-04-09 Thread Jani Taskinen
Will you reply to all those bug reports then? --Jani On Tue, 9 Apr 2002, Stanislav Malyshev wrote: >JC>> > that apache 2 / PHP 4.2.0 is stable enough for production yet, and >JC>> > therefore recommend to drop the apache2filter from the release branch. "If >JC>> >JC>> I defin

Re: [PHP-DEV] classes, instances & objects in ZE2

2002-04-09 Thread Marcus Börger
At 11:34 09.04.2002, Kristian Koehntopp wrote: >On Tue, Apr 09, 2002 at 11:11:58AM +0200, Marcus B?rger wrote: > > Keywords are better then implicit definitions. > >Agreed. > > > I would like to have private, protected and public which can > > be easily done by adding one single flag to the member

  1   2   >