Hi,
Can you know when PHP 6 is getting released?
I am looking to create a universal website with Multi language(Unicode) Support. Any one know?
PHP6 Release
Moderator: General Moderators
-
nowaydown1
- Forum Contributor
- Posts: 169
- Joined: Sun Apr 27, 2008 1:22 am
Re: PHP6 Release
I haven't heard anything about an official date, but you can certainly grab the latest unstable build at http://snaps.php.net/ if you're interested in trying out changes.
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
Re: PHP6 Release
They haven't released a target launch date yet I believe.
Re: PHP6 Release
I'm no unicode expert (in fact I know almost nothing about it) but can you use these? http://us2.php.net/manual/en/ref.mbstring.php
Re: PHP6 Release
Unless you're actually manipulating the text in the site you should be fine just writing it in PHP 5 (or even PHP 4..). I've done quite a few internationalised sites now and it's not been a problem yet. That said, all the things I've done have been UTF-8.. if that doesn't work for you it gets tricky.
- Jaxolotl
- Forum Contributor
- Posts: 137
- Joined: Mon Nov 13, 2006 4:19 am
- Location: Argentina and Italy
Re: PHP6 Release
Actually the thing gets more complex when you are using a DB backend, for example using an old version with no collation support or by forgetting checking if mysql_query("SET NAMES 'utf8'", $db_link) is assigned properly, or when dealing with some japanese characters. Anyway onion2k is wright, you may write multilang structures with even PHP4.onion2k wrote:Unless you're actually manipulating the text in the site you should be fine just writing it in PHP 5 (or even PHP 4..)