News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Johannes Schluter's Blog:
Unicode identifiers
July 24, 2009 @ 08:13:53

Johannes Schluter briefly touches on unicode in PHP6 in a new post to his blog and how being able to use it in identifiers can come in quite handy at times.

Consider you have an application tied to an environment with a special terminology, then translating this terms to English might be extremely confusing (especially as programmers often don't really know the correct terminology of that domain) and it's good to call the thing by it's name [...] The purpose of this were some bad news: That's nothing new. The relevant scanner rule hasn't changed since 4.0 - the only change is that PHP 6 doesn't treat it as random set of bytes anymore but knows about Unicode codepoints and interprets is as such.

After digging around a bit in some of the commit history of PHP, Johannes also found that the scanner rule (what parses the identifiers) hasn't changed since around 2000 and, apparently, won't be changing for PHP6 either.

0 comments voice your opinion now!
unicode identifier php6


blog comments powered by Disqus

Similar Posts

David Coallier's Blog: Translating JAWS from PHP4 to PHP6 (Woo I'm a mentor)

Internet Super Hero: PHP: mysqlnd and its tests

PHP-GTK Community Blog: Articles on other sites (PHP6, an Intro & Desktop Apps)

SDA Asia: Yahoo Helping Zend with PHP 6, says Andi Gutmans

SitePoint PHP Blog: What won\'t be in PHP 6


Community Events

Don't see your event here?
Let us know!


api language feature library release laravel5 wordpress voicesoftheelephpant series interview introduction framework development threedevsandamaybe laravel podcast community unittest extension opinion

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework