Re: [PHP-DEV] bugs.php.net php 6

2012-02-27 Thread Richard Lynch
On Sun, February 26, 2012 2:03 am, Stas Malyshev wrote:
 Just discovered that our stock php 4 support discontinued message in
 bugs looks like:

 We are sorry, but we can not support PHP 4 related problems anymore.
 Momentum is gathering for PHP 6, and we think supporting PHP 4 will
 lead to a waste of resources which we want to put into getting PHP 6
 ready.

 Unless I've missed something, the momentum for php 6 is very much
 nonexistent, so we probably want to fix that message :)

Isn't the emotional scarring of PHP 6 == Unicode far enough in the
past to start some momentum for PHP 6?

I sure core Devs have thought about this, and have gone so far as to
make statements for what should be in PHP 6...

PS
If it isn't already, I want to write an RFC to change the default
error_reporting to include E_NOTICE.

-- 
brain cancer update:
http://richardlynch.blogspot.com/search/label/brain%20tumor
Donate:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclickhosted_button_id=FS9NLTNEEKWBE



-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] bugs.php.net php 6

2012-02-27 Thread Simon Schick
Hi, Richard

The development of the unicode-as-default-charset should really be done
within the next release coming after 5.4
I heared somewhere that it's nearly done ...
I would have happily seen it in 5.4 but as this release is late right now
we have to wait ;)

Bye
Simon

p.s. *
http://www.php.net/manual/en/function.error-reporting.php#refsect1-function.error-reporting-changelog
*http://www.php.net/manual/en/function.error-reporting.php#refsect1-function.error-reporting-changelog


2012/2/27 Richard Lynch c...@l-i-e.com

 On Sun, February 26, 2012 2:03 am, Stas Malyshev wrote:
  Just discovered that our stock php 4 support discontinued message in
  bugs looks like:
 
  We are sorry, but we can not support PHP 4 related problems anymore.
  Momentum is gathering for PHP 6, and we think supporting PHP 4 will
  lead to a waste of resources which we want to put into getting PHP 6
  ready.
 
  Unless I've missed something, the momentum for php 6 is very much
  nonexistent, so we probably want to fix that message :)

 Isn't the emotional scarring of PHP 6 == Unicode far enough in the
 past to start some momentum for PHP 6?

 I sure core Devs have thought about this, and have gone so far as to
 make statements for what should be in PHP 6...

 PS
 If it isn't already, I want to write an RFC to change the default
 error_reporting to include E_NOTICE.

 --
 brain cancer update:
 http://richardlynch.blogspot.com/search/label/brain%20tumor
 Donate:

 https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclickhosted_button_id=FS9NLTNEEKWBE



 --
 PHP Internals - PHP Runtime Development Mailing List
 To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] bugs.php.net php 6

2012-02-27 Thread Richard Lynch
On Mon, February 27, 2012 9:37 am, Simon Schick wrote:
 The development of the unicode-as-default-charset should really be
 done
 within the next release coming after 5.4
 I heared somewhere that it's nearly done ...
 I would have happily seen it in 5.4 but as this release is late right
 now
 we have to wait ;)

I was off on medical leave for awhile, but last I heard, the one (1)
guy who cared enough to work hard-core on a Unicode PHP realized just
how terribly difficult it was, and just how many irreconcilable issues
it raised, and he stopped working on it.

Nobody else has taken up the banner, and PHP 6 trunk was moth-balled
and started over, or so I heard...

That sums up, even over-simplifies, a whole mess of threads,
discussions at conferences, and IRC discussion in a couple
sentences... I apologize to all for the over-simplification, and
possibly outright errors.

While I understand the allure of writing code in one's native
language, and the ease of having one's native language supported out
of the box in the string built-in type...

There are mechanisms available in PHP now, which are more cumbersome,
but they work without the very complex issues alluded to in paragraph
1..

Other languages may have this feature, but they were included from the
beginning.  Grafting them on to PHP at this point was attempted, and,
as far as I know, failed.  It was an ambitious attempt, and the issues
could not have easily been foreseen, so it's probably very
disheartening to have failed just short of the goal line.

That's the way the ball bounces sometimes.

Again, please forgive me if I have completely failed to catch
something here, especially as I'm just getting back into the flow of
things.

-- 
brain cancer update:
http://richardlynch.blogspot.com/search/label/brain%20tumor
Donate:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclickhosted_button_id=FS9NLTNEEKWBE



-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP-DEV] bugs.php.net php 6

2012-02-27 Thread John Crenshaw
Wait, is the default going to be Unicode (wide, always 2 bytes per char, I.E. 
more memory consumption) or UTF-8 (1 byte for the first 127, more bytes for 
wider text, mostly unchanged memory consumption)? I thought it was originally a 
conversion to Unicode, but that was scrapped? Can someone clarify?

John Crenshaw
Priacta, Inc.

-Original Message-
From: Simon Schick [mailto:simonsimc...@googlemail.com] 
Sent: Monday, February 27, 2012 10:38 AM
To: Richard Lynch
Cc: Stas Malyshev; PHP Internals
Subject: Re: [PHP-DEV] bugs.php.net  php 6

Hi, Richard

The development of the unicode-as-default-charset should really be done within 
the next release coming after 5.4 I heared somewhere that it's nearly done ...
I would have happily seen it in 5.4 but as this release is late right now we 
have to wait ;)

Bye
Simon

p.s. *
http://www.php.net/manual/en/function.error-reporting.php#refsect1-function.error-reporting-changelog
*http://www.php.net/manual/en/function.error-reporting.php#refsect1-function.error-reporting-changelog


2012/2/27 Richard Lynch c...@l-i-e.com

 On Sun, February 26, 2012 2:03 am, Stas Malyshev wrote:
  Just discovered that our stock php 4 support discontinued message 
  in bugs looks like:
 
  We are sorry, but we can not support PHP 4 related problems anymore.
  Momentum is gathering for PHP 6, and we think supporting PHP 4 will 
  lead to a waste of resources which we want to put into getting PHP 6 
  ready.
 
  Unless I've missed something, the momentum for php 6 is very much 
  nonexistent, so we probably want to fix that message :)

 Isn't the emotional scarring of PHP 6 == Unicode far enough in the 
 past to start some momentum for PHP 6?

 I sure core Devs have thought about this, and have gone so far as to 
 make statements for what should be in PHP 6...

 PS
 If it isn't already, I want to write an RFC to change the default 
 error_reporting to include E_NOTICE.

 --
 brain cancer update:
 http://richardlynch.blogspot.com/search/label/brain%20tumor
 Donate:

 https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclickhosted_button_id=F
 S9NLTNEEKWBE



 --
 PHP Internals - PHP Runtime Development Mailing List To unsubscribe, 
 visit: http://www.php.net/unsub.php




Re: [PHP-DEV] bugs.php.net php 6

2012-02-27 Thread Lester Caine

John Crenshaw wrote:

Wait, is the default going to be Unicode (wide, always 2 bytes per char, I.E. more 
memory consumption) or UTF-8 (1 byte for the first 127, more bytes for wider text, 
mostly unchanged memory consumption)? I thought it was originally a conversion to Unicode, but that 
was scrapped? Can someone clarify?


I seem to recall that the original plan was along the lines of windows wide 
string? But it was the fact that unicode is wider then 16 bit that this was 
simply wrong? Trying to shoehorn things into the wrong structure was just not 
working and making the job more difficult?


Keeping things simple really requires 4 bytes per character, even if one of 
those is never used, but it does make sense when manipulating strings? However 
most of the time UTF8 works happily and only becomes a problem when a multibyte 
character gets cropped because the processing does not know about it?


--
Lester Caine - G8HFL
-
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] bugs.php.net php 6

2012-02-27 Thread Ferenc Kovacs
On Mon, Feb 27, 2012 at 5:10 PM, Richard Lynch c...@l-i-e.com wrote:

 On Mon, February 27, 2012 9:37 am, Simon Schick wrote:
  The development of the unicode-as-default-charset should really be
  done
  within the next release coming after 5.4
  I heared somewhere that it's nearly done ...
  I would have happily seen it in 5.4 but as this release is late right
  now
  we have to wait ;)

 I was off on medical leave for awhile, but last I heard, the one (1)
 guy who cared enough to work hard-core on a Unicode PHP realized just
 how terribly difficult it was, and just how many irreconcilable issues
 it raised, and he stopped working on it.

 Nobody else has taken up the banner, and PHP 6 trunk was moth-balled
 and started over, or so I heard...

 That sums up, even over-simplifies, a whole mess of threads,
 discussions at conferences, and IRC discussion in a couple
 sentences... I apologize to all for the over-simplification, and
 possibly outright errors.

 While I understand the allure of writing code in one's native
 language, and the ease of having one's native language supported out
 of the box in the string built-in type...

 There are mechanisms available in PHP now, which are more cumbersome,
 but they work without the very complex issues alluded to in paragraph
 1..

 Other languages may have this feature, but they were included from the
 beginning.  Grafting them on to PHP at this point was attempted, and,
 as far as I know, failed.  It was an ambitious attempt, and the issues
 could not have easily been foreseen, so it's probably very
 disheartening to have failed just short of the goal line.

 That's the way the ball bounces sometimes.

 Again, please forgive me if I have completely failed to catch
 something here, especially as I'm just getting back into the flow of
 things.


some more info
http://lwn.net/Articles/379909/
http://www.slideshare.net/andreizm/the-good-the-bad-and-the-ugly-what-happened-to-unicode-and-php-6
so yeah, the full unicode support happened to be too big to undertake (and
in retrospective it seems that the UTF-8 would have been a wiser choice
instead of UTF-16), and having to upgrade all of the extensions was also a
grand task.

so the unicode development got halted, which in turn made the whole php6
project into a death march.
after some marching 5.3 got branched from 5.2, the stuff ready in php 6 got
backported and released, then people realized that it is nowhere else to
go, moved trunk to branches/FIRST_UNICODE_IMPLEMENTATION/, and rebranched
trunk from 5.3, which in turn get turned into 5.4.

ps: and it was a big messy discussion about the namespace operator.
ps2: feel free to correct/extend my info. ^^

-- 
Ferenc Kovács
@Tyr43l - http://tyrael.hu


[PHP-DEV] bugs.php.net php 6

2012-02-26 Thread Stas Malyshev

Hi!

Just discovered that our stock php 4 support discontinued message in 
bugs looks like:


We are sorry, but we can not support PHP 4 related problems anymore.
Momentum is gathering for PHP 6, and we think supporting PHP 4 will
lead to a waste of resources which we want to put into getting PHP 6
ready.

Unless I've missed something, the momentum for php 6 is very much 
nonexistent, so we probably want to fix that message :)

--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] bugs.php.net php 6

2012-02-26 Thread Rasmus Lerdorf
On 02/26/2012 08:03 AM, Stas Malyshev wrote:
 Hi!
 
 Just discovered that our stock php 4 support discontinued message in
 bugs looks like:
 
 We are sorry, but we can not support PHP 4 related problems anymore.
 Momentum is gathering for PHP 6, and we think supporting PHP 4 will
 lead to a waste of resources which we want to put into getting PHP 6
 ready.
 
 Unless I've missed something, the momentum for php 6 is very much
 nonexistent, so we probably want to fix that message :)

Fixed

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] bugs.php.net php 6

2012-02-26 Thread marius adrian popa
On Sun, Feb 26, 2012 at 10:03 AM, Stas Malyshev smalys...@sugarcrm.com wrote:
 Hi!

 Just discovered that our stock php 4 support discontinued message in bugs
 looks like:

 We are sorry, but we can not support PHP 4 related problems anymore.
 Momentum is gathering for PHP 6, and we think supporting PHP 4 will
 lead to a waste of resources which we want to put into getting PHP 6
 ready.

 Unless I've missed something, the momentum for php 6 is very much
 nonexistent, so we probably want to fix that message :)

Also  i have seen a lot of skipped Unicode tests for php  6
I wanted to ask what will happen to them ?

Just one example
http://gcov.php.net/viewer.php?version=PHP_5_4func=skipfile=ext%2Fphar%2Ftests%2F017U.phpt

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php