Re: [PHP-DEV] RIP PHP 4?

2007-07-12 Thread Lester Caine
Tijnema wrote: Yes, that's what I meant to say, they can be implemented on top of, just like the above mentioned json, it is implemented on top of too. But, that means that a regular PHP programmer doesn't need PHP5 for his scripts (except for OO if they want). Do you think it matters to them if

Re: [PHP-DEV] RIP PHP 4?

2007-07-12 Thread Sebastian Mendel
David Coallier schrieb: On 7/11/07, Tijnema [EMAIL PROTECTED] wrote: On 7/11/07, Jeff Griffiths [EMAIL PROTECTED] wrote: chris# wrote: On Tue, 10 Jul 2007 19:30:26 -0500, Larry Garfield [EMAIL PROTECTED] wrote: ... The claim that is still repeated that one has to rewrite everything

Re: [PHP-DEV] Simple Namespace Proposal

2007-07-12 Thread Stefan Priebsch
Richard Lynch schrieb: And for those of us who never use autoload OR SPL, could you please not force SPL into core? From a regular PHP developer's perspective, SPL is part of the core (read: it is guaranteed that it is always there). The manual says so, and it has been said in most, if not all

Re: [PHP-DEV] RIP PHP 4?

2007-07-12 Thread chris#
On Wed, 11 Jul 2007 21:18:17 -0400, David Coallier [EMAIL PROTECTED] wrote: On 7/11/07, Tijnema [EMAIL PROTECTED] wrote: On 7/11/07, Jeff Griffiths [EMAIL PROTECTED] wrote: chris# wrote: On Tue, 10 Jul 2007 19:30:26 -0500, Larry Garfield [EMAIL PROTECTED] wrote: ... The claim that

Re: [PHP-DEV] RIP PHP 4?

2007-07-12 Thread Sebastian Mendel
chris# schrieb: On Wed, 11 Jul 2007 21:18:17 -0400, David Coallier [EMAIL PROTECTED] wrote: On 7/11/07, Tijnema [EMAIL PROTECTED] wrote: On 7/11/07, Jeff Griffiths [EMAIL PROTECTED] wrote: chris# wrote: On Tue, 10 Jul 2007 19:30:26 -0500, Larry Garfield [EMAIL PROTECTED] wrote: ...

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

2007-07-12 Thread chris#
On Wed, 11 Jul 2007 20:23:20 -0500 (CDT), Richard Lynch [EMAIL PROTECTED] wrote: Remember that old series of jokes about how C is a language that lets you shoot your foot off? runkit lets you design a gun so you can use one foot to shoot the other. LOL! Yes, I've been looking at it as

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

2007-07-12 Thread chris#
On Wed, 11 Jul 2007 20:27:21 -0500 (CDT), Richard Lynch [EMAIL PROTECTED] wrote: On Wed, July 11, 2007 3:11 am, Richard Quadling wrote: On 11/07/07, Evert | Rooftop [EMAIL PROTECTED] wrote: Larry Garfield wrote: Top 10 by what metric? If I had to guess based on market share, I'd say

Re: [PHP-DEV] Apache handler with Multiple PHP versions

2007-07-12 Thread Tijnema
Hello Richard, On 7/12/07, Richard Lynch [EMAIL PROTECTED] wrote: On Wed, July 11, 2007 6:13 pm, Tijnema wrote: On 7/12/07, Jani Taskinen [EMAIL PROTECTED] wrote: A lot easier (and works already) is to install PHP as CGI/FastCGI (one version or all of them, one can be module of course) and

Re: [PHP-DEV] Apache handler with Multiple PHP versions

2007-07-12 Thread Tijnema
On 7/12/07, Guilherme Blanco [EMAIL PROTECTED] wrote: Hi Tijnema, I think here is something that might interest you: http://www.phpclasses.org/browse/package/3472.html Regards, Hello Guilherme, This comes quite close to my idea, except that this does only uncomment specfic sections that

Re: [PHP-DEV] Simple Namespace Proposal

2007-07-12 Thread Jani Taskinen
On Thu, 2007-07-12 at 09:30 +0200, Stefan Priebsch wrote: From a regular PHP developer's perspective, SPL is part of the core (read: it is guaranteed that it is always there). The manual says so, and it has been said in most, if not all SPL-related presentations. If manual says that then the

Re: [PHP-DEV] RIP PHP 4?

2007-07-12 Thread Jani Taskinen
On Thu, 2007-07-12 at 11:04 +0200, Sebastian Mendel wrote: i don't think so ... PHP 5 is always the better choice ... cause PHP 4 development has stopped and support will end and you will get no more security update after 2008-08-08(?) Actually this has been the de-facto state of PHP 4 for a

Re: [PHP-DEV] RIP PHP 4?

2007-07-12 Thread Tijnema
On 7/12/07, David Coallier [EMAIL PROTECTED] wrote: On 7/11/07, Tijnema [EMAIL PROTECTED] wrote: On 7/11/07, Jeff Griffiths [EMAIL PROTECTED] wrote: chris# wrote: On Tue, 10 Jul 2007 19:30:26 -0500, Larry Garfield [EMAIL PROTECTED] wrote: ... The claim that is still repeated that

Re: [PHP-DEV] Apache handler with Multiple PHP versions

2007-07-12 Thread chris#
On Wed, 11 Jul 2007 20:43:06 -0700, Rasmus Lerdorf [EMAIL PROTECTED] wrote: chris# wrote: It was possible to have PHP3 and PHP4 both as modules, I think, but that was an anomoly? So which one of the developers broke this /feature/ in 5? ;) This wasn't supported on all platforms in 4

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

2007-07-12 Thread M. Sokolewicz
Richard Lynch wrote: On Wed, July 11, 2007 3:11 am, Richard Quadling wrote: On 11/07/07, Evert | Rooftop [EMAIL PROTECTED] wrote: 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

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

2007-07-12 Thread Sebastian Mendel
Larry Garfield schrieb: 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.

Re: [PHP-DEV] RIP PHP 4?

2007-07-12 Thread chris#
On Thu, 12 Jul 2007 07:13:07 +0100, Lester Caine [EMAIL PROTECTED] wrote: Tijnema wrote: Yes, that's what I meant to say, they can be implemented on top of, just like the above mentioned json, it is implemented on top of too. But, that means that a regular PHP programmer doesn't need PHP5

Re: [PHP-DEV] RIP PHP 4?

2007-07-12 Thread chris#
On Thu, 12 Jul 2007 11:04:53 +0200, Sebastian Mendel [EMAIL PROTECTED] wrote: chris# schrieb: On Wed, 11 Jul 2007 21:18:17 -0400, David Coallier [EMAIL PROTECTED] wrote: On 7/11/07, Tijnema [EMAIL PROTECTED] wrote: On 7/11/07, Jeff Griffiths [EMAIL PROTECTED] wrote: chris# wrote: On

Re: [PHP-DEV] Apache handler with Multiple PHP versions

2007-07-12 Thread chris#
On Thu, 12 Jul 2007 11:38:44 +0200, Tijnema [EMAIL PROTECTED] wrote: Hello Richard, On 7/12/07, Richard Lynch [EMAIL PROTECTED] wrote: On Wed, July 11, 2007 6:13 pm, Tijnema wrote: On 7/12/07, Jani Taskinen [EMAIL PROTECTED] wrote: A lot easier (and works already) is to install PHP as

Re: [PHP-DEV] RIP PHP 4?

2007-07-12 Thread Lester Caine
chris# wrote: Something just occurred to me that might satisfy both sides of the issue. What about the way Apache handles their versions of Apache (1.x and 2.x). That is to say; they haven't abandoned 1.3 (no surprise, as I think it still has the biggest install base). They simply maintain

Re: [PHP-DEV] RIP PHP 4?

2007-07-12 Thread Marco
Something just occurred to me that might satisfy both sides of the issue. What about the way Apache handles their versions of Apache (1.x and 2.x). That is to say; they haven't abandoned 1.3 (no surprise, as I think it still has the biggest install base). They simply maintain security related

Re: [PHP-DEV] RIP PHP 4?

2007-07-12 Thread chris#
On Thu, 12 Jul 2007 11:51:39 +0100, Lester Caine [EMAIL PROTECTED] wrote: chris# wrote: Something just occurred to me that might satisfy both sides of the issue. What about the way Apache handles their versions of Apache (1.x and 2.x). That is to say; they haven't abandoned 1.3 (no

Re: [PHP-DEV] Apache handler with Multiple PHP versions

2007-07-12 Thread Tijnema
On 7/12/07, chris# [EMAIL PROTECTED] wrote: On Thu, 12 Jul 2007 11:38:44 +0200, Tijnema [EMAIL PROTECTED] wrote: Hello Richard, On 7/12/07, Richard Lynch [EMAIL PROTECTED] wrote: On Wed, July 11, 2007 6:13 pm, Tijnema wrote: On 7/12/07, Jani Taskinen [EMAIL PROTECTED] wrote: A lot

Re: [PHP-DEV] Apache handler with Multiple PHP versions

2007-07-12 Thread chris#
On Thu, 12 Jul 2007 13:41:16 +0200, Tijnema [EMAIL PROTECTED] wrote: On 7/12/07, chris# [EMAIL PROTECTED] wrote: On Thu, 12 Jul 2007 11:38:44 +0200, Tijnema [EMAIL PROTECTED] wrote: Hello Richard, On 7/12/07, Richard Lynch [EMAIL PROTECTED] wrote: On Wed, July 11, 2007 6:13 pm,

Re: [PHP-DEV] RIP PHP 4?

2007-07-12 Thread Tijnema
On 7/12/07, David Coallier [EMAIL PROTECTED] wrote: On 7/12/07, Tijnema [EMAIL PROTECTED] wrote: On 7/12/07, David Coallier [EMAIL PROTECTED] wrote: On 7/11/07, Tijnema [EMAIL PROTECTED] wrote: On 7/11/07, Jeff Griffiths [EMAIL PROTECTED] wrote: chris# wrote: On Tue, 10 Jul 2007

Re: [PHP-DEV] Simple Namespace Proposal

2007-07-12 Thread Andrew Minerd
On Wed, 11 Jul 2007 21:31:34 -0700 [EMAIL PROTECTED] (Stanislav Malyshev) wrote: I understand we're forcing some structure here, but I think actually it's good - and many other languages have it either by design or de-facto. Personally, I'm of the opinion that file structure should be an

Re: [PHP-DEV] Simple Namespace Proposal

2007-07-12 Thread Stanislav Malyshev
Similarly, allowing multiple namespaces per file does not limit the developer in any way. Not allowing them does. I always thought a language should be designed to empower it's developers, not get in their way. My opinion is that sometimes language *should* get in the way - if the developer is

Re: [PHP-DEV] Mid-term Update for Cycle Collector (Google Summer of Code Project)

2007-07-12 Thread Stanislav Malyshev
On the whole suite of tests (which includes the Graph and Template tests), execution time with unmodified PHP was 12:03. With cycle collection, it was 12:43. these numbers are quite impressive. Indeed, memory usage reduction is very impressive - though I'm somewhat surprised so much memory

Re: [PHP-DEV] Simple Namespace Proposal

2007-07-12 Thread David Coallier
On 7/12/07, Stanislav Malyshev [EMAIL PROTECTED] wrote: Similarly, allowing multiple namespaces per file does not limit the developer in any way. Not allowing them does. I always thought a language should be designed to empower it's developers, not get in their way. My opinion is that

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

2007-07-12 Thread Stanislav Malyshev
From our perspective, you've gone and changed a fundamental data structure out from under us, in a non-backwards-compatible way, and broken a whole bunch of working code, for a feature we don't use, and can't turn off [*] Supporting unicode requires such change. It is a big deal - Unicode does

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

2007-07-12 Thread Stanislav Malyshev
AFAIK, UTF-8 is backward compatible with ASCII. UTF-16 is not. That's why Well, with 7-bit ASCII - yes. With 8-bit extended ASCII, whatever that means - not exactly. You can have 8-bit strings that aren't valid UTF-8 and can't be translated to UTF-8 without specifying the encoding

Re: [PHP-DEV] Re: SNAPS+SNAPSPecl different to Pecl4Win

2007-07-12 Thread Gaetano Giunta
I think I finally have something demoable, regarding the possibility of extending pecl4win to offer compiled dlls of the released version pf pecl packages, besides the compiled cvs version. The build process is almost ok: + two separate build environments (incl. pecl trees) are used: one for

RE: [PHP-DEV] Mid-term Update for Cycle Collector (Google Summer of Code Project)

2007-07-12 Thread David
Hi all, -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Sebastian Bergmann Sent: Thursday, July 12, 2007 2:52 AM As a first step, I think the code changes that convert direct accesses to the reference counters to the proper macros should be merged. These

Re: [PHP-DEV] Mid-term Update for Cycle Collector (Google Summer of Code Project)

2007-07-12 Thread Scott MacVicar
Hi, David wrote: Hi all, -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Sebastian Bergmann Sent: Thursday, July 12, 2007 2:52 AM As a first step, I think the code changes that convert direct accesses to the reference counters to the proper macros should

RE: [PHP-DEV] Mid-term Update for Cycle Collector (Google Summer of Code Project)

2007-07-12 Thread David
Could the garabage collector be started / stopped during script executing from a userland function? zend_gc_enable/disable() in addition to an ini option to enable it at script startup? Yes, that functionality can be added fairly easily. Some GC code will still have to be executed (such as

RE: [PHP-DEV] Mid-term Update for Cycle Collector (Google Summer of Code Project)

2007-07-12 Thread Andi Gutmans
Hi David, Isn't finding cycles an NP-complete problem? :) How can you know there are no cycles without actually looking for them? It would definitely be nice to be able to turn this feature on/off at runtime. The majority of pages in PHP don't require such a feature but it's a good thing for us

RE: [PHP-DEV] Mid-term Update for Cycle Collector (Google Summer of Code Project)

2007-07-12 Thread David
Hi, -Original Message- From: Andi Gutmans [mailto:[EMAIL PROTECTED] Sent: Thursday, July 12, 2007 9:06 PM To: David; Scott MacVicar Cc: Stas Malyshev; Sebastian Bergmann; internals@lists.php.net Subject: RE: [PHP-DEV] Mid-term Update for Cycle Collector (Google Summer of Code