Re: [PHP-DEV] What is the use of "unicode.semantics" in PHP 6?

2007-07-10 Thread Robert Lemke
Am 11.07.2007 um 07:20 schrieb Evert|Rooftop: Top 10 by what metric? If I had to guess based on market share, I'd say (unordered): Drupal Squirrelmail WordPress phpMyAdmin MediaWiki Joomla PHPBB hey, and what about TYPO3? ;-) Honestly, I've tried the current version of TYPO3 (4.x) with P

Re: [PHP-DEV] What is the use of "unicode.semantics" in PHP 6?

2007-07-10 Thread Evert | Rooftop
One final question.. should I assume while converting code "unicode.semantics" is on or off? If its on I would be making sure everything is properly casted to binary strings where this is needed, if it's off the focus would be on making sure the application runs on both PHP5 and PHP6.. What

Re: [PHP-DEV] What is the use of "unicode.semantics" in PHP 6?

2007-07-10 Thread Evert | Rooftop
Larry Garfield wrote: Top 10 by what metric? If I had to guess based on market share, I'd say (unordered): Drupal Squirrelmail WordPress phpMyAdmin MediaWiki Joomla PHPBB That will keep me busy =) Evert -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: htt

Re: [PHP-DEV] What is the use of "unicode.semantics" in PHP 6?

2007-07-10 Thread Larry Garfield
On Tuesday 10 July 2007, Evert | Rooftop wrote: > Andi Gutmans wrote: > > I think the sooner the better as it's valuable information for the dev > > team. > > It'd probably be a good idea to have a Wiki where we can document issues > > that/common use-cases which are encountered. > > Maybe we shoul

Re: [PHP-DEV] What is the use of "unicode.semantics" in PHP 6?

2007-07-10 Thread chris#
On Tue, 10 Jul 2007 20:55:30 -0400, Evert | Rooftop <[EMAIL PROTECTED]> wrote: > Andi Gutmans wrote: >> I think the sooner the better as it's valuable information for the dev >> team. >> It'd probably be a good idea to have a Wiki where we can document issues >> that/common use-cases which are e

Re: [PHP-DEV] What is the use of "unicode.semantics" in PHP 6?

2007-07-10 Thread Evert | Rooftop
Andi Gutmans wrote: I think the sooner the better as it's valuable information for the dev team. It'd probably be a good idea to have a Wiki where we can document issues that/common use-cases which are encountered. Maybe we should have a Wiki on one of the php.net servers for such purposes? Andi

Re: [PHP-DEV] RIP PHP 4?

2007-07-10 Thread chris#
On Tue, 10 Jul 2007 19:30:26 -0500, Larry Garfield <[EMAIL PROTECTED]> wrote: > On Tuesday 10 July 2007, chris# wrote: > >> > Better docs on how to run PHP 4 and PHP 5 at the same time would > likely >> > be helpful, and someone is working on that for GoPHP5.org, I think. >> > However, your cla

Re: [PHP-DEV] Always enable mail() function

2007-07-10 Thread Cristian Rodriguez
On 7/10/07, Johannes Schlüter <[EMAIL PROTECTED]> wrote: Hi, recently I had the problem that we disable the mail() function if configure can't find the sendmail binary. Is there any real reason for this? I suspect there is no real reason, I have always wondered why is like that. I can image

Re: [PHP-DEV] RIP PHP 4?

2007-07-10 Thread Larry Garfield
On Tuesday 10 July 2007, chris# wrote: > > Better docs on how to run PHP 4 and PHP 5 at the same time would likely > > be helpful, and someone is working on that for GoPHP5.org, I think. > > However, your claim that "you have millions... of lines of code that have > > to be nearly > > completely

Re: [PHP-DEV] What is the use of "unicode.semantics" in PHP 6?

2007-07-10 Thread Larry Garfield
On Monday 09 July 2007, Stanislav Malyshev wrote: > > Do _I_ like that horrible IS_STRING/IS_UNICODE mess we have atm? No. > > I don't think there's any way of having both unstructured character data > and Unicode text represented without having two distinct types. Either > that or you'd have to te

Re: [PHP-DEV] Always enable mail() function

2007-07-10 Thread Stanislav Malyshev
The same as if you configure sendmail_oath wrong or move you binary to a host where it is missing: mail() returns false. I think it's a correct approach - the fact that sendmail wasn't installed (or installed incorrectly maybe) on build machine shouldn't prevent PHP from sending mail of produc

Re: [PHP-DEV] Always enable mail() function

2007-07-10 Thread Johannes Schlüter
On Wed, 2007-07-11 at 00:49 +0300, Jani Taskinen wrote: > So what happens when sendmail really does not exist? The same as if you configure sendmail_oath wrong or move you binary to a host where it is missing: mail() returns false. johannes -- PHP Internals - PHP Runtime Development Mailing Lis

RE: [PHP-DEV] What is the use of "unicode.semantics" in PHP 6?

2007-07-10 Thread Andi Gutmans
I think the sooner the better as it's valuable information for the dev team. It'd probably be a good idea to have a Wiki where we can document issues that/common use-cases which are encountered. Maybe we should have a Wiki on one of the php.net servers for such purposes? Andi > -Original Mess

Re: [PHP-DEV] Always enable mail() function

2007-07-10 Thread Jani Taskinen
So what happens when sendmail really does not exist? --Jani Johannes Schlüter kirjoitti: Hi, recently I had the problem that we disable the mail() function if configure can't find the sendmail binary. Is there any real reason for this? I can image a few situations where the binary is in a non-

[PHP-DEV] Always enable mail() function

2007-07-10 Thread Johannes Schlüter
Hi, recently I had the problem that we disable the mail() function if configure can't find the sendmail binary. Is there any real reason for this? I can image a few situations where the binary is in a non-standard location or PHP is compiled on a different host than used. I'd like to commit the a

Re: [PHP-DEV] Suggestion for fixing Bug #40928

2007-07-10 Thread Stanislav Malyshev
/en-us/ntcmds_shelloverview.mspx?mfr=true , quoting: "You can use most characters as variable values, including white space. If you use the special characters <, >, |, &, or ^, you must precede them with the escape character (^) or quotation marks." - So all special characters will be replaced wit

Re: [PHP-DEV] Re: SPL as non-disablable extension (Was: Re: [PHP-DEV] Simple Namespace Proposal)

2007-07-10 Thread Stanislav Malyshev
because someone needs to decide in what order autoload strategies are applied. this is especially important for libraries that do not prefix Not if we have namespaces :) With namespaces, order doesn't matter. Without namespaces, libraries not using unique prefixes are asking for trouble anyway

Re: [PHP-DEV] Creating an object-oriented PHP extension

2007-07-10 Thread Johannes Schlüter
Hi Boris, On Tue, 2007-07-10 at 15:38 +0200, Boris wrote: > Hi there, > > I'm trying to create an object-oriented PHP 5 extension. As I don't know > any step-by-step tutorial which would explain everything in detail I'm > trying to understand various sources and documents I happen to run into

RE: [PHP-DEV] What is the use of "unicode.semantics" in PHP 6?

2007-07-10 Thread Johannes Schlüter
On Mon, 2007-07-09 at 19:38 -0700, Andi Gutmans wrote: > Btw, I don't know how many of you have actually tried to port PHP 5 apps > to PHP 6 but it's quite a disaster. We made some fixes in the past 2-3 > weeks and its getting better but it still requires a lot of work. If we > don't make this easy

Re: [PHP-DEV] Re: SPL as non-disablable extension (Was: Re: [PHP-DEV] Simple Namespace Proposal)

2007-07-10 Thread Lukas Kahwe Smith
On 10.07.2007, at 18:55, Stanislav Malyshev wrote: the application should define how things get loaded, precisely because it decides about what libraries are used, what approach each of them has taken etc. also on the application level you may want to implement some way to override impleme

Re: [PHP-DEV] Re: SPL as non-disablable extension (Was: Re: [PHP-DEV] Simple Namespace Proposal)

2007-07-10 Thread Stanislav Malyshev
the application should define how things get loaded, precisely because it decides about what libraries are used, what approach each of them has taken etc. also on the application level you may want to implement some way to override implementations from the library etc. Why application develope

[PHP-DEV] Creating an object-oriented PHP extension

2007-07-10 Thread Boris
Hi there, I'm trying to create an object-oriented PHP 5 extension. As I don't know any step-by-step tutorial which would explain everything in detail I'm trying to understand various sources and documents I happen to run into. I'd appreciate if anyone could comment on what I currently think

Re: [PHP-DEV] What is the use of "unicode.semantics" in PHP 6?

2007-07-10 Thread Evert | Rooftop
Andi Gutmans wrote: What I really think we need to do for this release, which we haven't been good at doing in the past, is build a PHP Compatibility Team which tries to port many applications to PHP 6 and finds the issues in doing this port (both with unicode_semantics=on/off). We can then learn

RE: [PHP-DEV] What is the use of "unicode.semantics" in PHP 6?

2007-07-10 Thread Andi Gutmans
I was thinking a bit more about this yesterday. Even if I'd agree with this discussion (which I don't at this point in time) I think it is being had far too early. We currently have a very big problem with ability to upgrade to PHP 6 and making decisions without people actually getting their feet w

RE: [PHP-DEV] RIP PHP 4?

2007-07-10 Thread Andi Gutmans
I wouldn't say "consider" in releasing security fixes. I would say that we won't make any more releases except in cases of security bugs. Andi > -Original Message- > From: Derick Rethans [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 10, 2007 12:34 AM > To: Pierre > Cc: PHP Developers

[PHP-DEV] [PATCH] LDAP module patch (adding new functionality).

2007-07-10 Thread Ignacio Arenaza
Hi, now that there seems to be a maintainer of the LDAP extension (I've cc'ed this message to him), I thought I could try to push this patch again :-) Instead of trying to push my own (limited) patch which only supports pagedResults control extension, I've taken Pierangelo Masarati's patches (PA

Re: [PHP-DEV] RIP PHP 4?

2007-07-10 Thread Marco
My 2 cents... As of XX-XX-2007, it will have been 3 years since the release of PHP 5. In these 3 years many improvements have been implemented over PHP 4 and PHP 5 can now be considered fast, stable & production ready. With PHP 6 in active development PHP 4 development will now be discontinued.

Re: [PHP-DEV] Re: SPL as non-disablable extension (Was: Re: [PHP-DEV] Simple Namespace Proposal)

2007-07-10 Thread Lukas Kahwe Smith
On 10.07.2007, at 09:17, Stanislav Malyshev wrote: The application should define this, not the library or module... Why not? If library needs to load files, why can't it define how to load them? - the application should define how things get loaded, precisely because it decides about w

RE: [PHP-DEV] Simple Namespace Proposal

2007-07-10 Thread Dmitry Stogov
header() is a regular function, you can call it from anywhere (e.q. as top-level statement), butof course you cannot use it before namespace declaration. Dmitry. > -Original Message- > From: chris# [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 10, 2007 12:35 AM > To: internals@lists.

Re: [PHP-DEV] What is the use of "unicode.semantics" in PHP 6?

2007-07-10 Thread Stefan Priebsch
Derick Rethans schrieb: > You can do that with fastcgi and lighttpd, not with apache. (With how much effort) could it be made possible with Apache? Deciding on unicode and non-unicode PHP at compile time and -optionally- running two engines in parallel could IMHO ease some performance issues and

[PHP-DEV] Re: SPL as non-disablable extension (Was: Re: [PHP-DEV] Simple Namespace Proposal)

2007-07-10 Thread Stefan Priebsch
Derick Rethans schrieb: > That's what we're doing... however, I don't mind the "force SPL to be > compiled into PHP" bit. I think we should do that. Since the manual says "This extension is available and compiled by default in PHP 5.", so a lot of developers (me included) rely on SPL funtionality

Re: [PHP-DEV] RIP PHP 4?

2007-07-10 Thread Alain Williams
On Tue, Jul 10, 2007 at 01:09:35AM -0700, chris# wrote: > No offense, I can't resist... Neither can I: > >Today has been exactly three years since PHP 5 was released. In >those three years it has seen many improvements over PHP 4. PHP 5 is >fast, stable & production-ready and as PH

Re: [PHP-DEV] What is the use of "unicode.semantics" in PHP 6?

2007-07-10 Thread Derick Rethans
On Tue, 10 Jul 2007, Alexey Zakhlestin wrote: > On 7/10/07, Derick Rethans <[EMAIL PROTECTED]> wrote: > > > You can do that with fastcgi and lighttpd, not with apache. > > not true. you can do that with ANY server which uses fastcgi (apache > can do that too!) > > Actualy, I believe fastcgi-mo

Re: [PHP-DEV] What is the use of "unicode.semantics" in PHP 6?

2007-07-10 Thread Alexey Zakhlestin
On 7/10/07, Derick Rethans <[EMAIL PROTECTED]> wrote: You can do that with fastcgi and lighttpd, not with apache. not true. you can do that with ANY server which uses fastcgi (apache can do that too!) actualy, I believe fastcgi-mode should get some "advertising" from php.net as it really have

Re: [PHP-DEV] RIP PHP 4?

2007-07-10 Thread chris#
On Tue, 10 Jul 2007 09:34:12 +0200 (CEST), Derick Rethans <[EMAIL PROTECTED]> wrote: > On Mon, 9 Jul 2007, Pierre wrote: > >> On 7/9/07, Derick Rethans <[EMAIL PROTECTED]> wrote: >> > On Fri, 6 Jul 2007, Andi Gutmans wrote: >> > >> > > I'd suggest something close to what Rasmus suggested: >> >

Re: [PHP-DEV] What is the use of "unicode.semantics" in PHP 6?

2007-07-10 Thread chris#
On Tue, 10 Jul 2007 08:39:10 +0200 (CEST), Derick Rethans <[EMAIL PROTECTED]> wrote: > On Mon, 9 Jul 2007, chris# wrote: > >> On Mon, 9 Jul 2007 14:38:03 -0700, Andrei Zmievski > <[EMAIL PROTECTED]> wrote: >> > Yes, backporting major features from PHP 6 to 5 will slow down PHP 6 >> > adoption,

Re: [PHP-DEV] RIP PHP 4?

2007-07-10 Thread chris#
On Tue, 10 Jul 2007 00:56:16 -0500, Larry Garfield <[EMAIL PROTECTED]> wrote: > On Monday 09 July 2007, chris# wrote: > >> I will venture to say that the biggest issue was; no transition period. >> That is to say that PHP4 and PHP5 are two completely different > creatures. >> There was no "morp

Re: [PHP-DEV] RIP PHP 4?

2007-07-10 Thread Derick Rethans
On Mon, 9 Jul 2007, Pierre wrote: > On 7/9/07, Derick Rethans <[EMAIL PROTECTED]> wrote: > > On Fri, 6 Jul 2007, Andi Gutmans wrote: > > > > > I'd suggest something close to what Rasmus suggested: > > > a) We make a clear statement on PHP.net that at the end of the year we > > > plan to discontin

Re: [PHP-DEV] What is the use of "unicode.semantics" in PHP 6?

2007-07-10 Thread chris#
On Tue, 10 Jul 2007 07:02:15 +0200, Lukas Kahwe Smith <[EMAIL PROTECTED]> wrote: > > On 10.07.2007, at 01:19, chris# wrote: > >> >> >> >> On Mon, 9 Jul 2007 14:38:03 -0700, Andrei Zmievski >> <[EMAIL PROTECTED]> wrote: >>> Yes, backporting major features from PHP 6 to 5 will slow down PHP 6 >>

Re: [PHP-DEV] Re: SPL as non-disablable extension (Was: Re: [PHP-DEV] Simple Namespace Proposal)

2007-07-10 Thread Stanislav Malyshev
The application should define this, not the library or module... Why not? If library needs to load files, why can't it define how to load them? -- Stanislav Malyshev, Zend Software Architect [EMAIL PROTECTED] http://www.zend.com/ (408)253-8829 MSN: [EMAIL PROTECTED] -- PHP Internals - PHP

Re: [PHP-DEV] Re: SPL as non-disablable extension (Was: Re: [PHP-DEV] Simple Namespace Proposal)

2007-07-10 Thread Derick Rethans
On Tue, 10 Jul 2007, Stanislav Malyshev wrote: > > > Well if we are speaking of best practices, the sensible thing for > > > libs to do is to provide a function/method users can call inside > > > their own __autoload() implementation. This way users are free to > > > make their __autoload() wor

[PHP-DEV] Re: SPL as non-disablable extension (Was: Re: [PHP-DEV] Simple Namespace Proposal)

2007-07-10 Thread Stanislav Malyshev
Well if we are speaking of best practices, the sensible thing for libs to do is to provide a function/method users can call inside their own __autoload() implementation. This way users are free to make their __autoload() work as they please/require. That's OK too, but this requires the user to

Re: [PHP-DEV] RIP PHP 4?

2007-07-10 Thread chris#
On Tue, 10 Jul 2007 00:52:27 -0500, Larry Garfield <[EMAIL PROTECTED]> wrote: > On Monday 09 July 2007, chris# wrote: >> OK. I can't help but notice the overall underwhelming reception to PHP5 >> (mostly by ISP's). Which begs the question /why/? Shouldn't /that/ be > the >> question? Or maybe I