[PHP-DEV] CVS Account Request: yincheng

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

[PHP-DEV] Re: Introducing EXCPLICIT

2002-06-07 Thread Ilker Cetinkaya
j, nevermind, you're not the first one who says stop using php if you want oo and strong types aso aso. my decision is not only reasoned by your reply. sorry for dropping just a single line - i had to leave my desk regards, ilker J Smith [EMAIL PROTECTED] wrote in message [EMAIL

[PHP-DEV] [PATCH] New function implode_multi

2002-06-07 Thread C. McCohy
Hi there, while creating some stuff in PHP, I needed the PHP function implode() work like Perl function join, so that the first argument of the function is glue and an unlimited list of other arguments is made of arrays and strings. So I made a new function called implode_multi (with an alias

Re: [PHP-DEV] [PATCH] New function implode_multi

2002-06-07 Thread Markus Fischer
Hi, On Fri, Jun 07, 2002 at 10:49:21AM +0200, C. McCohy wrote : ? $fruits = array('banana', 'orange', 'apple'); $vegetables = array('carrot', 'cabbage', 'cucumber'); $favorite_food = 'icecream'; $all_day_food = implode_multi(', ', $fruits, $vegetables,

Re: [PHP-DEV] [PATCH] New function implode_multi

2002-06-07 Thread Markus Fischer
On Fri, Jun 07, 2002 at 11:02:45AM +0200, Markus Fischer wrote : Hi, On Fri, Jun 07, 2002 at 10:49:21AM +0200, C. McCohy wrote : ? $fruits = array('banana', 'orange', 'apple'); $vegetables = array('carrot', 'cabbage', 'cucumber'); $favorite_food = 'icecream';

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

2002-06-07 Thread Kristian Koehntopp
Am Donnerstag, 6. Juni 2002 19:59 schrieb Dan Hardiker: I sit in many PHP channels (IRC), and observe many class-based PHP networks (php-classes.org is one I monitor closely) and can say definatly that the majority of PHP users want *more* OO capabilities in PHP. From a marketing POV, what

[PHP-DEV] Registering classes in PHP extension

2002-06-07 Thread Eunsoo Seo
Hi. Any manual about registering classes in PHP extension? I found that the function zend_register_internal_class can do that. And I read some code in ext/ that contaings that function, but I can hardly understand that code. Any manual or tutorial about that topic? Thanks. -- PHP

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

2002-06-07 Thread Dan Hardiker
Am Donnerstag, 6. Juni 2002 19:59 schrieb Dan Hardiker: I sit in many PHP channels (IRC), and observe many class-based PHP networks (php-classes.org is one I monitor closely) and can say definatly that the majority of PHP users want *more* OO capabilities in PHP. [..] So when users ask for

[PHP-DEV] DOMXML Function consistency

2002-06-07 Thread Joseph Tate
A bug report or two have been made regarding function names in attribute nodes. Taking a look, nodes have the following access functions: node_name node_type node_value etc. However attribute nodes have the following access functions: name value specified I am thinking that to make it more

Re: [PHP-DEV] DOMXML Function consistency

2002-06-07 Thread Garland foster
The DOM level 1 W3C's recommendation specifies node_name, node_type and node_value, I'd like the DOMextension to map the W3C spec as close as possible. I'd even recommend not implementing the suggested functions as alises since that would encorage non-standard DOM applications. - Original

Re: [PHP-DEV] DOMXML Function consistency

2002-06-07 Thread Christian Stocker
Hi I have no problem with that, but the old functions should not be deprecated, it's the W3C-Standard way. And if i understood it correctly, both methods (name and nodeName) can be used for the same... chregu On Fri, 7 Jun 2002, Joseph Tate wrote: A bug report or two have been made regarding

Re: [PHP-DEV] DOMXML Function consistency

2002-06-07 Thread Christian Stocker
On Fri, 7 Jun 2002, Garland foster wrote: The DOM level 1 W3C's recommendation specifies node_name, node_type and node_value, I'd like the DOMextension to map the W3C spec as close as possible. but it's at least a DOM level 2 W3C recommendation:

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

2002-06-07 Thread brad lafountain
--- Dan Hardiker [EMAIL PROTECTED] wrote: Am Donnerstag, 6. Juni 2002 19:59 schrieb Dan Hardiker: I sit in many PHP channels (IRC), and observe many class-based PHP networks (php-classes.org is one I monitor closely) and can say definatly that the majority of PHP users want *more* OO

[PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] PHP in thefuture

2002-06-07 Thread Jason T. Greene
IMO, one of the big reasons for having a powerful OO mode, and continually evolving php to have a bigger target than just a web programming language, is code re-usability. You can design a nice consistent Framework, and easily rollout web, gui, and back end applications all using the same

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

2002-06-07 Thread Joseph Tate
How much of C has been reused, and reused and reused again? There is no oo in stdlib. -Original Message- Code reusability is a psychological issue. You can reuse code in PHP 4, and it'll be even better in 5 - PEAR is a clear demonstration of this. Whether people actually end up

[PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] PHP in thefuture

2002-06-07 Thread Jason T. Greene
True, I hear it is even possible to reuse code in COBOL : ) I believe that the ease of maintenance depends purely on the language. i.e. using a strictly procedural language for a large framework can be quite messy. Have you ever seen large libraries written in perl that consistently call require

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

2002-06-07 Thread Zeev Suraski
At 05:46 PM 6/7/2002, Joseph Tate wrote: How much of C has been reused, and reused and reused again? There is no oo in stdlib. Exactly. C is one of the easiest languages for code reuse, but it totally depends on your programming habits and skill. As a matter of fact, I find Java to be one

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

2002-06-07 Thread Zeev Suraski
At 06:14 PM 6/7/2002, Jason T. Greene wrote: True, I hear it is even possible to reuse code in COBOL : ) I believe that the ease of maintenance depends purely on the language. i.e. using a strictly procedural language for a large framework can be quite messy. Have you ever seen large libraries

[PHP-DEV] oo != php

2002-06-07 Thread Ilker Cetinkaya
i don't get it, ze2 introduces private members, consts, statics, namespaces, delegation (and thus mi), class in class. and all this stuff because it don't wants to be another java sebastian is currently working on a book for php-oo, wants to show us how design patterns are realized

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/mysql/libmysql charset.c config-win.h ctype.c dbug.c dbug.h default.c dll.c errmsg.c errmsg.h get_password.c global.h libmysql.c list.c m_string.h mf_casecnv.c mf_dirname.c mf_format.c mf_path.c my_compress.c my_create.c my_getwd.c my_init.c my_lib.c my_malloc.c my_open.c my_pthread.c my_pthread.h my_realloc.c my_static.c my_sys.h my_tempnam.c my_thr_init.c my_wincond.c my_winthread.c my_write.c mysql.h mysql_com.h mysql_version.h mysqld_error.h net.c raid.h strmake.c strto.c strtoll.c strtoull.c thr_alarm.h violite.c

2002-06-07 Thread Sebastian Bergmann
Zak Greant wrote: Log: Updating embedded libmysql to version 3.23.48 libmysql.lib(my_thr_init.obj): error LNK2001: Unresolved external symbol _win_pthread_init libmysql.lib(my_thr_init.obj): error LNK2001: Unresolved external symbol _pthread_cond_init

RE: [PHP-DEV] oo != php

2002-06-07 Thread Preston L. Bannister
From: Ilker Cetinkaya [mailto:[EMAIL PROTECTED]] [snip] but after getting known of the ze2 features, I personally saw PHP finally growing out of that PHP, language for kiddies-image. IMHO PHP is a real good language for its target purpose, but it has potential to be much better. PHP is a

[PHP-DEV] Berkeley db4 support?

2002-06-07 Thread R Blake
hi, since the with-db 'general' config option has been deprecated, what's the status of db4 support? i've searched the lists and perhaps am missing something .. but i find *no* mention of db4 at all! can someone provide -- or point me in the direction of -- some insight on php4-current

RE: [PHP-DEV] oo != php

2002-06-07 Thread brad lafountain
--- Preston L. Bannister [EMAIL PROTECTED] wrote: From: Ilker Cetinkaya [mailto:[EMAIL PROTECTED]] [snip] but after getting known of the ze2 features, I personally saw PHP finally growing out of that PHP, language for kiddies-image. IMHO PHP is a real good language for its target

Re: [PHP-DEV] oo != php

2002-06-07 Thread Sander Steffann
OO IS OO... JUST BECAUSE JAVA IS OO DOESN'T MEAN WE ARE SUGGESTING MAKING JAVA AGAIN. WE ARE SUGGESTING MORE OO FEATURES. Please Pleas Please realize the difference. Im sick of people associating oo features as java features! Making php more like java would be suggesting making a public

[PHP-DEV] Zend Engine expert wanted!!!!

2002-06-07 Thread Brian France
Zend Engine unloading extension in the wrong order! (Re-post due to no response) 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

Re: [PHP-DEV] DOMXML Function consistency

2002-06-07 Thread Dan Allen
Excellent, looks like this bug report is getting some limelight. While we are on the topic, I just wanted to put in a small plea. I realize that we want to map close the W3C, but I have a small request. Don't deprecate get_content(). I realize it is not a well know W3C standard, but there is a

Re: [PHP-DEV] Zend Engine expert wanted!!!!

2002-06-07 Thread brad lafountain
If this is your problem maybe a offical soultion to the problem should be thought. Like in your extension you can define a priority for loading and unloading your extension in the ini. Kinda like init.d. Has there been any discussion about this topic before. - brad --- Brian France [EMAIL

Re: [PHP-DEV] Zend Engine expert wanted!!!!

2002-06-07 Thread Brian France
The issue is *not* the order in which the Zend Engine is loading them in, but the order it is unloading them in. Switching order for loading was a fix that just happened to work. With the patch I provided I can put them in any order and it works. Looking at the Apache source it keeps a list

Re: [PHP-DEV] Zend Engine expert wanted!!!!

2002-06-07 Thread Andi Gutmans
Can you check and see if using zend_hash_graceful_reverse_destroy() fixes your problem? Andi At 11:44 AM 6/7/2002 -0700, Brian France wrote: Zend Engine unloading extension in the wrong order! (Re-post due to no response) I have been tracking down a core dump with my php extension when it is

[PHP-DEV] Fwd: REJECTED: 5.1.0.14.2.20020607225328.03df2740@127.0.0.1

2002-06-07 Thread Andi Gutmans
Any idea why I got this when posting to php-dev? Andi Delivered-To: [EMAIL PROTECTED] Sender: [EMAIL PROTECTED] (reject) Date: Thu, 06 Jun 2002 08:50:05 -0700 X-Autogenerated: Reply To: Andi Gutmans [EMAIL PROTECTED] From: [EMAIL PROTECTED] Subject: REJECTED: [EMAIL PROTECTED] X-Autogenerated:

Re: [PHP-DEV] Zend Engine expert wanted!!!!

2002-06-07 Thread Brian France
I will try that, but I was worried that the pDestructor function would not get called for each item like it was in zend_hash_destroy. Is this the case? Looking at the code what is the difference between zend_hash_graceful_destroy and zend_hash_destroy? Thanks again for the help! Brian At

Re: [PHP-DEV] Fwd: REJECTED:5.1.0.14.2.20020607225328.03df2740@127.0.0.1

2002-06-07 Thread Brian France
Somebody from PRESENCE-GROUP.COM is subscribed to php-dev list and is filtering mail through spamcop or something program. I am getting them to. Brian At 10:58 PM +0300 6/7/02, Andi Gutmans wrote: Any idea why I got this when posting to php-dev? Andi Delivered-To: [EMAIL PROTECTED] Sender:

Re: [PHP-DEV] Fwd: REJECTED: 5.1.0.14.2.20020607225328.03df2740@127.0.0.1

2002-06-07 Thread brad lafountain
I got it too.. - brad --- Andi Gutmans [EMAIL PROTECTED] wrote: Any idea why I got this when posting to php-dev? Andi Delivered-To: [EMAIL PROTECTED] Sender: [EMAIL PROTECTED] (reject) Date: Thu, 06 Jun 2002 08:50:05 -0700 X-Autogenerated: Reply To: Andi Gutmans [EMAIL PROTECTED]

Re: [PHP-DEV] Zend Engine expert wanted!!!!

2002-06-07 Thread Andi Gutmans
At 01:00 PM 6/7/2002 -0700, Brian France wrote: I will try that, but I was worried that the pDestructor function would not get called for each item like it was in zend_hash_destroy. Is this the case? Looking at the code what is the difference between zend_hash_graceful_destroy and

[PHP-DEV] HUGE APOLOGIES to the LIST for SMAPCOP screw-up!!

2002-06-07 Thread Richard S. Blake
i believe its been fixed :-S richard

[PHP-DEV] Sorry! Re: [PHP-DEV] Fwd: REJECTED:5.1.0.14.2.20020607225328.03df2740@127.0.0.1

2002-06-07 Thread Richard S. Blake
sorry abt that .. an overzealous SPAM filter triggered on your three exclamation points . in your SUBJECT should be fixed now :-S --On Friday, June 7, 2002 10:58 PM +0300 Andi Gutmans [EMAIL PROTECTED] wrote: Any idea why I got this when posting to php-dev? Andi Delivered-To:

Re: [PHP-DEV] Zend Engine expert wanted!!!!

2002-06-07 Thread Brian France
Yes, zend_hash_graceful_reverse_destroy() fixes the problem as well. Is this a better solution for the fix? Thanks, Brian At 11:06 PM +0300 6/7/02, Andi Gutmans wrote: At 01:00 PM 6/7/2002 -0700, Brian France wrote: I will try that, but I was worried that the pDestructor function would not

[PHP-DEV] Re: PHP profiling results under 2.0.37 Re: Performance of Apache2.0 Filter

2002-06-07 Thread Cliff Woolley
On Fri, 7 Jun 2002, Brian Pane wrote: IMHO, that's a design flaw. Regardless of whether PHP is doing buffering, it shouldn't break up blocks of static content into small pieces--especially not as small as 400 bytes. While it's certainly valid for PHP to insert a flush bucket right before

Re: [PHP-DEV] Zend Engine expert wanted!!!!

2002-06-07 Thread Andi Gutmans
At 01:14 PM 6/7/2002 -0700, Brian France wrote: Yes, zend_hash_graceful_reverse_destroy() fixes the problem as well. Is this a better solution for the fix? It's the same but doesn't require a new function. Andi -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit:

[PHP-DEV] Re: Sorry! Re: [PHP-DEV] Fwd: REJECTED: 5.1.0.14.2.20020607225328.03df2740@127.0.0.1

2002-06-07 Thread Jim Winstead
Richard S. Blake [EMAIL PROTECTED] wrote: sorry abt that .. an overzealous SPAM filter triggered on your three exclamation points . in your SUBJECT should be fixed now :-S you should further fix your spam system to bounce to the SMTP envelope sender instead of whatever broken thing

[PHP-DEV] Re: [Zend Engine 2] RE: [PHP-DEV] oo != php

2002-06-07 Thread Zeev Suraski
There are two reasons we repeat the 'PHP is not Java mantra': (a) Many of those requesting these changes actually DO want to see PHP as a Java with PHPish syntax. (b) Java is (so far) the best implemented OO language out there that's actually being used. It symbolizes the extreme OO world, if

Re: [PHP-DEV] Zend Engine expert wanted!!!!

2002-06-07 Thread Zeev Suraski
Brian, We're on the job. I generally think you're right, we have to do some more thinking but chances are we will change the shutdown order to be reversed. Sorry for not ack'ing earlier. Zeev At 09:44 PM 6/7/2002, Brian France wrote: Zend Engine unloading extension in the wrong order!

Re: [PHP-DEV] What kind of option ASP/Java has for this?

2002-06-07 Thread Melvyn Sopacua
At 02:43 8-6-2002, Yasuo Ohgaki shared with all of us: I'm about to start coding new HTML Form Creation Validation module for PHP. I've designed most featrue needed. Before I start, I would like to know if ASP/Java has similar feature and what they do. I think CFML (Cold Fusion) would be the

Re: [PHP-DEV] Re: [Zend Engine 2] RE: [PHP-DEV] oo != php

2002-06-07 Thread Dan Hardiker
There are two reasons we repeat the 'PHP is not Java mantra': (a) Many of those requesting these changes actually DO want to see PHP as a Java with PHPish syntax. Anyone wanting PHP to be a simple or more flexable Java is barking up the wrong tree... in fact all of the people I know who Im

Re: [PHP-DEV] What kind of option ASP/Java has for this?

2002-06-07 Thread Yasuo Ohgaki
Melvyn Sopacua wrote: At 02:43 8-6-2002, Yasuo Ohgaki shared with all of us: I'm about to start coding new HTML Form Creation Validation module for PHP. I've designed most featrue needed. Before I start, I would like to know if ASP/Java has similar feature and what they do. I think

[PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] RE:[PHP-DEV] oo != php

2002-06-07 Thread Alex Black
eg: simple db-based shopping cart web site? use PHP... complex internet backing system? use Java. Easy! Use PHP! Easier. Look, I've built hideously complex things with PHP - commerce systems that do stream encryption on a per-field basis, complex interconnected process stuff, large APIs,

Re: [PHP-DEV] Re: [Zend Engine 2] RE: [PHP-DEV] oo != php

2002-06-07 Thread Jim Winstead
Dan Hardiker [EMAIL PROTECTED] wrote: Unless Im missing the mark - for which I appologise. The PHP Group as a whole seems to have mixed feelings on this issue - could there be some form of concensus so that I (and many others on this list) can work out if the requested extra functionality is

[PHP-DEV] failed php build on OSX: libexpat.la bad magic number (not aMach-O file) directory name (/lib) does not exist

2002-06-07 Thread R Blake
hi all, a build of php-latest (php4-200206071800) on OSX Server 10.1.4 with: ./configure --enable-shared --enable-static --prefix=/usr/local/php4 --with-layout=PHP --with-apxs2=/usr/local/apache2/sbin/apxs --with-config-file-path=/private/etc/php4/ --mandir=/usr/local/man

[PHP-DEV] Re: PHP profiling results under 2.0.37 Re: Performance of Apache2.0 Filter

2002-06-07 Thread Brian Pane
In case it's helpful to the PHP developers, here are some more performance problems that I found by running a quick system call profile of PHP-4.2.1 within Apache-2.0.37-dev: * php_request_shutdown() calls shutdown_memory_manager(), which does a large number of calls to free() per request. If

[PHP-DEV] Re: PHP profiling results under 2.0.37 Re: Performance of Apache2.0 Filter

2002-06-07 Thread Brian Pane
I wrote: a quick system call profile of PHP-4.2.1 within oops, s/system/function/ --Brian -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: [Zend Engine 2] RE: [PHP-DEV] oo != php

2002-06-07 Thread Michael Dransfield
At 02:40 08/06/2002 +0100, you wrote: There are two reasons we repeat the 'PHP is not Java mantra': (a) Many of those requesting these changes actually DO want to see PHP as a Java with PHPish syntax. Anyone wanting PHP to be a simple or more flexable Java is barking up the wrong