Forgot to CC list.

-------- Original Message --------
Subject: Re: [PHP-DEV] why we must get rid of unicode.semantics switch ASAP
Date:   Mon, 21 Jan 2008 10:07:43 -0600
From:   Jeremy Privett <[EMAIL PROTECTED]>
Organization:   Omega Vortex Corporation
To:     Antony Dovgal <[EMAIL PROTECTED]>
References:     <[EMAIL PROTECTED]>



Antony Dovgal wrote:
6 reasons why we must to get rid of The Switch ASAP
----------------------------------------------------
1) it gives users false sense of "compatibility" when no compatibility is even 
planned;

2) it's supposed to mean compatibility, but can be changed only in php.ini, which means users would still have to maintain 2 versions of their software: one for On and second for Off.

3) 2+ bigger codebase [1] (with lots of duplicates because we have to do same things in native and unicode modes);

4) increases the maintenance costs a lot [2];

5) this is yet another reincarnation of ze1_compatibility switch.
I believe most of the people here agree it was a total failure - untested, unneeded and, most important, not working thing that complicates user's and developer's lives. Those who want compatibility may and will stay with PHP5 forever, those who need Unicode support will use PHP6.

6) we need to remove the switch ASAP and make PHP6 Unicode-only before people spend their time doing useless "compatibility ports" of their applications.


---
[1] 
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/string.c?revision=1.664&view=markup
Don't click this link if you want to sleep well today.

[2] Here is a typical problem: http://bugs.php.net/bug.php?id=42861
Try to fix it without looking at the solution and you'll see what I mean.


Seriously. +1

Thank you, Antony.

--
Jeremy Privett
C.E.O. & C.S.A.
Omega Vortex Corporation

http://www.omegavortex.net

Please note: This message has been sent with information that could be 
confidential and meant only for the intended recipient. If you are not the 
intended recipient, please delete all copies and inform us of the error as soon 
as possible. Thank you for your cooperation.




--
Jeremy Privett
C.E.O. & C.S.A.
Omega Vortex Corporation

Web:    http://www.omegavortex.net
E-Mail: [EMAIL PROTECTED]

Please note: This message has been sent with information that could be 
confidential and meant only for the intended recipient. If you are not the 
intended recipient, please delete all copies and inform us of the error as soon 
as possible. Thank you for your cooperation.

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

Reply via email to