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
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
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
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,
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';
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
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
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
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
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
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
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:
--- 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
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
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
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
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
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
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
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
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
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
--- 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
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
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
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
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
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
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
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:
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
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:
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]
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
i believe its been fixed :-S
richard
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:
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
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
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:
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
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
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!
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
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
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
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,
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
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
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
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
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
51 matches
Mail list logo