[PHP-DEV] CVS Account Request: yincheng

2002-06-06 Thread Xiao shengwen
Translating the documentation I want to translating the documentation to Simple Chines. -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DEV] How do I access a hash from an extention/module?

2002-06-06 Thread Emanuel Dejanu
I think that the best will be that somebody with a hole experience in PHP internals to write a book, I will sure buy it. Best regards, Emanuel Dejanu -Original Message- From: Eric Veldhuyzen [mailto:[EMAIL PROTECTED]] Sent: 6 iunie 2002 16:59 To: Markus Fischer Cc: fabwash; Eric Veldhuy

Re: [PHP-DEV] Re: [Zend Engine 2] PHP in the future

2002-06-06 Thread Zeev Suraski
Aggregation sometimes involves delegation. The 'parent' object delegates requests to the right aggregated objects (in other cases, the 'parent' object returns its aggregated objects and you use them directly). Zeev At 10:43 PM 6/6/2002, Sebastian Bergmann wrote: >Andi Gutmans wrote: > > The t

[PHP-DEV] Re: [Zend Engine 2] PHP in the future

2002-06-06 Thread gi
i really agree with brad. actually, im the kind of person that would like php to turn into java while still having the php look and feel. i did a few courses of java my employer send me to and i really appreciate OO now that i got a taste of it. because of these courses i started programingen

[PHP-DEV] Zend Engine unloading extension in the wrong order

2002-06-06 Thread Brian France
I have been tracking down a core dump with my php extension when it is unloading some of its shared libraries. I have shared extension that is link against libexpat and will load fine if it is the only on in the php.ini. If I then load xml.so extension then my extension it works fine, but if

RE: [PHP-DEV] PHP in the future

2002-06-06 Thread Joseph Tate
Emacs!!! XEmacs!!! Emacs!!! XEmacs!!! Now seriosly kids. My opinion is that none of the modifications that have been discussed actually change the language into something better. Everything that you can do with the proposed modification, you can do without. Sure multiple inheritance makes t

Re: [PHP-DEV] Re: Performance of Apache 2.0 Filter

2002-06-06 Thread Aaron Bannert
> Actually - depending on the platform also: What platform is this? I'm dubious of these results, given the negative numbers for transfered bytes and transfer rate. Also, be sure to run your tests from a different machine, and make sure that you aren't maxing out your client. Last note is you r

Re: [PHP-DEV] Re: Performance of Apache 2.0 Filter

2002-06-06 Thread Melvyn Sopacua
At 18:53 6-6-2002, Cliff Woolley shared with all of us: >On Thu, 6 Jun 2002, Sebastian Bergmann wrote: > > > A user posted [1] a "benchmark" today in the German PHP Newsgroup [2] > > stating that Apache 2.0 and PHP (current HEAD) are about 20% slower > > than Apache 1.3. > > > > Are there

Re: [PHP-DEV] Re: [Zend Engine 2] PHP in the future

2002-06-06 Thread Sebastian Bergmann
Andi Gutmans wrote: > The talk was about aggregation of instances of classes with auto-proxy. I think that's called delegation, not aggregation. Have a look at what the JavaLab guys at my University are doing under the term "delegation": http://javalab.cs.uni-bonn.de/research/darwin/

Re: [PHP-DEV] Snapshots not build correctly..

2002-06-06 Thread Jani Taskinen
On 6 Jun 2002, Jim Winstead wrote: >Andi Gutmans <[EMAIL PROTECTED]> wrote: >> At 09:25 PM 6/5/2002 +0300, Jani Taskinen wrote: >>>On Wed, 5 Jun 2002, Andi Gutmans wrote: >>> >>> >At 11:35 PM 6/4/2002 +0300, Jani Taskinen wrote: >>> > >>> >> The source snapshots don't have the bison/flex gene

[PHP-DEV] Re: [Zend Engine 2] PHP in the future

2002-06-06 Thread Jani Taskinen
On Thu, 6 Jun 2002, Alex Black wrote: >then PHP is pretty schitzo because someone made a GTK extensions for it that >seems to be supported by the core group. That's for building GUI >applications last I checked. (Actually the model was so good we're using it >in binarycloud!) GTK is just a c

Re: [PHP-DEV] Re: [Zend Engine 2] PHP in the future

2002-06-06 Thread brad lafountain
Andi, Before you go ahead with this I would like to discuss it some more too. I'm wondering if we can fully support MI but i don't want to start this conversation now. btw: i like the contains better than aggergates. - brad --- Andi Gutmans <[EMAIL PROTECTED]> wrote: > A couple of months ag

Re: [PHP-DEV] Re: [Zend Engine 2] PHP in the future

2002-06-06 Thread Andi Gutmans
A couple of months ago it was agreed on how to get multiple inheritance like behavior in a way which could work with PHP. I just haven't had time to implement it yet. The talk was about aggregation of instances of classes with auto-proxy. So you'd do something like: class foo extends bar contain

[PHP-DEV] Re: [Zend Engine 2] PHP in the future

2002-06-06 Thread brad lafountain
--- Zeev Suraski <[EMAIL PROTECTED]> wrote: > At 08:26 PM 6/6/2002, brad lafountain wrote: > > >--- Zeev Suraski <[EMAIL PROTECTED]> wrote: > > > At 07:01 PM 6/6/2002, brad lafountain wrote: > > > >Please don't reply to this email saying Use Java... Because php is > > different > > > >than java

Re: [PHP-DEV] Re: [Zend Engine 2] PHP in the future

2002-06-06 Thread Dan Hardiker
> I believe the OO level we have in ZE2 is the upper limit > of what a scripting language should have. There's no doubt in my mind > that going beyond that is going to complicate the language beyond what > our average users want. I would have to disagree to this statement extremly. It would n

RE: [PHP-DEV] Performance of Apache 2.0 Filter

2002-06-06 Thread Preston L. Bannister
> > > A user posted [1] a "benchmark" today in the German PHP Newsgroup [2] > > > stating that Apache 2.0 and PHP (current HEAD) are about 20% slower > > > than Apache 1.3. On Thu, Jun 06, 2002 at 09:05:16AM -0700, Rasmus Lerdorf wrote: > > It doesn't really surprise me. The bucket brigade

[PHP-DEV] Re: [PATCH] preg_match(_all) support for capturing offsets

2002-06-06 Thread Andrei Zmievski
I will take a look at this soon, thanks. On Thu, 06 Jun 2002, David Brown wrote: > Hi Andrei, all: > > (This is a re-send of a previous message that received no replies; my > apologies if you've already seen/considered it) > > In a previous patch > (http://news.php.net/article.php?group=php.de

[PHP-DEV] [PATCH] preg_match(_all) support for capturing offsets

2002-06-06 Thread David Brown
Hi Andrei, all: (This is a re-send of a previous message that received no replies; my apologies if you've already seen/considered it) In a previous patch (http://news.php.net/article.php?group=php.dev&article=84281), support was added to preg_split for capturing offsets along with matches. The

[PHP-DEV] Re: [Zend Engine 2] PHP in the future

2002-06-06 Thread Zeev Suraski
At 08:26 PM 6/6/2002, brad lafountain wrote: >--- Zeev Suraski <[EMAIL PROTECTED]> wrote: > > At 07:01 PM 6/6/2002, brad lafountain wrote: > > >Please don't reply to this email saying Use Java... Because php is > different > > >than java and always will be even with these new features. > > > > B

[PHP-DEV] Re: [Zend Engine 2] PHP in the future

2002-06-06 Thread Alex Black
>> Brad, I beg you, there's nothing anybody can say on this list that would >> lead this to closure. Nothing. I believe that adding the things you >> mentioned does indeed turn PHP into Java, just a messy Java, Java which is >> worse at being Java than the real one is, and torn apart when compar

[PHP-DEV] exec etc. on Windows: why does it use cmd.exe ?

2002-06-06 Thread Kai Schaetzl
The shell execution commands on Windows execute a "cmd /c program" for running command-line programs. I have seen bug reports asking for a change but there hasn't been one. What's the reason for using "cmd"? Isn't it possible to directly execute those programs? The problem with using cmd.exe is

[PHP-DEV] Re: [Zend Engine 2] PHP in the future

2002-06-06 Thread brad lafountain
--- Zeev Suraski <[EMAIL PROTECTED]> wrote: > At 07:01 PM 6/6/2002, brad lafountain wrote: > >Please don't reply to this email saying Use Java... Because php is different > >than java and always will be even with these new features. > > Brad, I beg you, there's nothing anybody can say on this li

Re: [PHP-DEV] Re: Performance of Apache 2.0 Filter

2002-06-06 Thread Aaron Bannert
On Thu, Jun 06, 2002 at 07:18:22PM +0200, Sebastian Bergmann wrote: > Cliff Woolley wrote: > > Namely, we need to be able to give Zend's lexer buffers to scan rather > > than handing it a file descriptor. > > Last time I talked to Zeev about this he said that this has been added. > (Acceptin

Re: [PHP-DEV] Re: Performance of Apache 2.0 Filter

2002-06-06 Thread Sebastian Bergmann
Cliff Woolley wrote: > Namely, we need to be able to give Zend's lexer buffers to scan rather > than handing it a file descriptor. Last time I talked to Zeev about this he said that this has been added. (Accepting a buffer instead of a file handle.) -- Sebastian Bergmann http://sebasti

[PHP-DEV] Re: Performance of Apache 2.0 Filter

2002-06-06 Thread Cliff Woolley
On Thu, 6 Jun 2002, Sebastian Bergmann wrote: > A user posted [1] a "benchmark" today in the German PHP Newsgroup [2] > stating that Apache 2.0 and PHP (current HEAD) are about 20% slower > than Apache 1.3. > > Are there any official benchmarks out there? I can't quite believe > this...

[PHP-DEV] Re: Introducing EXCPLICIT

2002-06-06 Thread J Smith
I wouldn't take my opinion as law, as I'm not part of the core PHP Group or anything, so I don't speak for anyone but myself. All I'm saying is that I seem to remember this issue being brought up before, and the result was that PHP is not a strong typed language, and probably won't become one

Re: [PHP-DEV] Performance of Apache 2.0 Filter

2002-06-06 Thread Aaron Bannert
On Thu, Jun 06, 2002 at 09:05:16AM -0700, Rasmus Lerdorf wrote: > > A user posted [1] a "benchmark" today in the German PHP Newsgroup [2] > > stating that Apache 2.0 and PHP (current HEAD) are about 20% slower > > than Apache 1.3. > > > > Are there any official benchmarks out there? I can'

[PHP-DEV] Re: [Zend Engine 2] PHP in the future

2002-06-06 Thread Zeev Suraski
At 07:01 PM 6/6/2002, brad lafountain wrote: >Please don't reply to this email saying Use Java... Because php is different >than java and always will be even with these new features. Brad, I beg you, there's nothing anybody can say on this list that would lead this to closure. Nothing. I belie

Re: [PHP-DEV] Performance of Apache 2.0 Filter

2002-06-06 Thread Rasmus Lerdorf
> A user posted [1] a "benchmark" today in the German PHP Newsgroup [2] > stating that Apache 2.0 and PHP (current HEAD) are about 20% slower > than Apache 1.3. > > Are there any official benchmarks out there? I can't quite believe > this... It doesn't really surprise me. The bucket br

Re: [PHP-DEV] Performance of Apache 2.0 Filter

2002-06-06 Thread Zeev Suraski
At 07:00 PM 6/6/2002, Sebastian Bergmann wrote: > A user posted [1] a "benchmark" today in the German PHP Newsgroup [2] > stating that Apache 2.0 and PHP (current HEAD) are about 20% slower > than Apache 1.3. > > Are there any official benchmarks out there? I can't quite believe > this..

[PHP-DEV] PHP in the future

2002-06-06 Thread brad lafountain
Ok I know this email has been posted again and again. But lets look at this objectivly. PHP was designed for the web. It's "perfect" in alot of ways for that market. Maybe we can shift the focus of php from the web to application development. Again i know this has been discussed and been shot dow

[PHP-DEV] Performance of Apache 2.0 Filter

2002-06-06 Thread Sebastian Bergmann
A user posted [1] a "benchmark" today in the German PHP Newsgroup [2] stating that Apache 2.0 and PHP (current HEAD) are about 20% slower than Apache 1.3. Are there any official benchmarks out there? I can't quite believe this... -- [1] Message-ID: <[EMAIL PROTECTED]> [2] news:

[PHP-DEV] Re: Introducing EXCPLICIT

2002-06-06 Thread Ilker Cetinkaya
thank you for your reply, i'll change to c# as soon as i've finished my current projects. regards, ilker "J Smith" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > I seem to remember strong typing being brought up before, and I also seem to > remember it bei

[PHP-DEV] Re: Introducing EXCPLICIT

2002-06-06 Thread J Smith
I seem to remember strong typing being brought up before, and I also seem to remember it being shot down. The consensus seemed to be if you want a strongly-typed language, use Java. Or C. Or C++. Or something other than PHP that has strong data typing. Have things changed since then? J Ilk

Re: [PHP-DEV] How do I access a hash from an extention/module?

2002-06-06 Thread fabwash
Yes, that's basically what I sent him as an example. I think the ext/standard/array.c is a good place to look for this information too. Fab. - Original Message - From: "Rasmus Lerdorf" <[EMAIL PROTECTED]> To: "Eric Veldhuyzen" <[EMAIL PROTECTED]> Cc: "fabwash" <[EMAIL PROTECTED]>; "Marku

Re: [PHP-DEV] How do I access a hash from an extention/module?

2002-06-06 Thread Rasmus Lerdorf
> Well, I think you might be able to help me then. I want to retrieve an > array and walk throught it. Should be pretty simple, right? Think of which PHP functions do this and go have a look. Basically think of how you do it in PHP at the low level. You would do something like this: reset($arr

[PHP-DEV] Newbie question about building GD...

2002-06-06 Thread Michael Davey
Hi ng! I was wondering if anyone had a howto for compiling gd2.0.1 on Win32? I have managed to get the CGI and two SAPI modules to compile, and have even managed to get a couple of simple extensions (simple cos I managed to get them to compile!) such as sockets and win32api to build, but gd seem

Re: [PHP-DEV] How do I access a hash from an extention/module?

2002-06-06 Thread Eric Veldhuyzen
On Thu, Jun 06, 2002 at 09:36:29AM -0400, fabwash wrote: > > It would be nice it there was some REAL documentation about the API... > > > Amen to that!!!.. I spent exactely 5 1/2 hours yesterday trying to create a > resource that is a structure which contains a set of pointers to an array of > obj

Re: [PHP-DEV] How do I access a hash from an extention/module?

2002-06-06 Thread Eric Veldhuyzen
On Thu, Jun 06, 2002 at 03:45:08PM +0200, Markus Fischer wrote: > On Thu, Jun 06, 2002 at 09:36:29AM -0400, fabwash wrote : > > > It would be nice it there was some REAL documentation about the API... > > > > > Amen to that!!!.. I spent exactely 5 1/2 hours yesterday trying to create a > > resour

Re: [PHP-DEV] How do I access a hash from an extention/module?

2002-06-06 Thread fabwash
Hi Markus, I think I know those pages by heart :) Doesn't mean they all make sense to me for now. I'm sure that when I get some experience I will find that they make a lot of sense, and that each word should give me a clue, but this is a high level overview of the API, what we need is a real docu

Re: [PHP-DEV] How do I access a hash from an extention/module?

2002-06-06 Thread Markus Fischer
On Thu, Jun 06, 2002 at 09:36:29AM -0400, fabwash wrote : > > It would be nice it there was some REAL documentation about the API... > > > Amen to that!!!.. I spent exactely 5 1/2 hours yesterday trying to create a > resource that is a structure which contains a set of pointers to an array of > o

Re: [PHP-DEV] How do I access a hash from an extention/module?

2002-06-06 Thread fabwash
> It would be nice it there was some REAL documentation about the API... > Amen to that!!!.. I spent exactely 5 1/2 hours yesterday trying to create a resource that is a structure which contains a set of pointers to an array of objects (yeah it's complicated but it's great when it works !), then l

[PHP-DEV] Bundled gdlib

2002-06-06 Thread Edin Kadribasic
I think it would be the best if we changed config option from --with-gd=php to just --with-gd when we want to use bundled gdlib. Edin -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Linuxtag Coordination

2002-06-06 Thread Kristian Koehntopp
I will be at Linuxtag on Sunday. I will have a cellphone. The number is +49 170 2231 811. I will not have net access. You need to summon me by phone (or by calling my name thrice while standing in a properly ornamented pentagram). Kristian -- PHP Development Mailing List

[PHP-DEV] bug in domxml_get_element_by_id

2002-06-06 Thread Dan Allen
Recently the function domxml_get_element_by_id was changed from using an xpath query //*[@ID = '%s'] to actually using the ID hash from the DTD, which makes perfect sense. But for the following string: ]> foo foo hey there I get for $xml->ids() a list nodeset of 2 nodes, but

Re: [PHP-DEV] Re: [PHP-EVANGELISM] ANN: QA & Evangelism Call to Arms @ LinuxTag

2002-06-06 Thread James Cox
When everyone gets into linuxtag, we can work out the best time for a meeting and take it from there, i think. -- james ___ This mail sent using V-webmail - http://www.v-webmail.co.uk -- PHP Development Mailing List

[PHP-DEV] CVS Account Request: progcom

2002-06-06 Thread Yun-young Lee
Translating the documentation to Korean. -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Introducing EXCPLICIT

2002-06-06 Thread Ilker Cetinkaya
i'd like to discuss with you a growing problem regarding php applications. i see the features taken into account for ze2 have been made regarding the needs of advanced php developers who design complete applications with php instead of just dumping out some dynamic content. php is ease of use be

Re: [PHP-DEV] Patch-tastic!

2002-06-06 Thread Kristian Koehntopp
[ I copy this to php-dev again, despite the fact that Ilker sent this to me in private mail, because I want to promote the concept of warnings for named accesses to _-members again. Privacy in C++/Java style will raise a lot of issues on this list again, if it is introduced to PHP. My propos

Re: [PHP-DEV] How do I access a hash from an extention/module?

2002-06-06 Thread Eric Veldhuyzen
On Thu, Jun 06, 2002 at 11:27:06AM +0200, Markus Fischer wrote: > You can fech the zval * for _SESSION from the > EG(symbol_table), e.g. something like this (untested): > > zval **z_sess; > if (zend_hash_find(&EG(symbol_table), "_SESSION", sizeof("_SESSION")-1, >(void**)&z_sess)

Re: [PHP-DEV] How do I access a hash from an extention/module?

2002-06-06 Thread Markus Fischer
You can fech the zval * for _SESSION from the EG(symbol_table), e.g. something like this (untested): zval **z_sess; if (zend_hash_find(&EG(symbol_table), "_SESSION", sizeof("_SESSION")-1, (void**)&z_sess) == SUCCESS) { ... } Try something like cd php4/ex

[PHP-DEV] How do I access a hash from an extention/module?

2002-06-06 Thread eric
Hi, I have posted this message before to the general list, but it seems nobody there can help me so I hope someone here might know... I am a bit stuck right now, I want to access the values of a global hash (actually it is a session variable) from within my PHP extention/module. So I want to be

Re: [PHP-DEV] Re: Bug #16747 Updated: Empty file upload field results in "No file uploaded in Unknown on line 0" warn

2002-06-06 Thread Markus Fischer
Hi, forget it. Stefan has informed me that this is fixed in CVS. - Markus On Thu, Jun 06, 2002 at 10:26:25AM +0200, Markus Fischer wrote : > Hello, > > Jani, I don't quite understand this too why we really need a > php_error() here when no file is uploaded at all? IMHO

[PHP-DEV] Re: Bug #16747 Updated: Empty file upload field results in "No file uploaded in Unknown on line 0" warn

2002-06-06 Thread Markus Fischer
Hello, Jani, I don't quite understand this too why we really need a php_error() here when no file is uploaded at all? IMHO there's nothing wrong with it. Other opinions ? - Markus On Thu, Jun 06, 2002 at 08:06:29AM -, [EMAIL PROTECTED] wrote : > ID:

Re: [PHP-DEV] Re: Patch-tastic!

2002-06-06 Thread Kristian Koehntopp
Am Mittwoch, 5. Juni 2002 16:41 schrieb Jason T. Greene: > If '+' concatenates what does '-' do? It drives you nuts. At least it does so in pike, which is a (discretionary, it has a type "mixed") statically typed language and overloads the arithmetic operators for string types. See http://pi

Re: [PHP-DEV] Patch-tastic!

2002-06-06 Thread Kristian Koehntopp
Am Mittwoch, 5. Juni 2002 10:44 schrieb Ilker Cetinkaya: > > Nice, but why not overload + for strings to do the > > concatenation? > > i totally agree, overloading + for string concat is really > desireable. No, it is a nightmare. PHP is a dynamically typed language, that is, the actual langua