Critical.
Authoritative.
Strategic.
Subscribe to CIO Magazine »

PHP 6 to boost internationalization with Unicode

The Unicode support plans are made with an eye toward helping developers write apps that can be deployed in multiple markets

PHP 6, a planned major upgrade to the popular open source dynamic language for Web applications, will feature internationalization capabilities via Unicode support, key developers of the language said Wednesday.

Python vs. PHP: Choosing your next project's language

"In PHP 6, everything by default will be Unicode," such as default string types, said PHP core developer Andrei Zmievski during a keynote presentation at the 2009 Zend/PHP conference in San Jose, Calif.  The PHP 6 platform also will feature the ability to use Unicode characters for identifiers.

Unicode for PHP addresses globalization, Zmievski said in an interview after his talk. Developers will want to write their applications so they can be deployed in other markets, he said.  "If you think you can develop your application only for your particular market, you're really missing out on business opportunities elsewhere," Zmievski said.

"Unicode makes it easier to write applications that can deal with various alphabets and encoding," said Andi Gutmans, a PHP core developer and CEO of PHP tools vendor Zend Technologies, in an interview at the conference. "It makes it easier write an application that can work as well in Chinese and Japanese as it can in English."

PHP core developers still need to complete development of Unicode items in areas like cookie access and PDO (PHP Database Objects.)

"Once that's done, we need to test PHP 6 on a number of well-known applications and frameworks, such as Drupal," Zmievski said.

There is  no set date for release of PHP 6, which would follow the release PHP 5.3 this past June. That release included capabilities initially planned for PHP 6 but moved up, such as garbage collection for objects as well as namespaces for better code organization.

Also eyed for PHP 6 is improving how numbers are handled in PHP, including support for long numbers. Another capability being considered is traits, allowing horizontal reuse of code. Developers could add functionality without having to deal with multiple inheritance problems.

Read-only properties and scalar type hints are being considered for the PHP 6 platform. PHP developers also are pondering first order functions, providing a way to refer to functions and methods as objects and be able to pass them around and inspect and modify them.

Briefly touching on plans for a subsequent PHP 7 release, Zmievski cited desires by some to rewrite the language, which he warned against. "There's a lot of calls to change a lot of things, but it's not a good idea to rewrite everything from scratch," he said.

A conference attendee lauded capabilities planned for version 6. Both internationalization and traits "will be really useful for us," said Pierrick Charron, of Nstein, which offers a PHP-based content management system. Internationalization currently presents difficulties in PHP, he explained

Gutmans also stressed PHP's strengths, calling it mainstream for the enterprise and beneficial for cloud computing. "PHP's thriving  and the recession has been a big accelerator behind the adoption of open source and PHP," he said.  "Companies have to increase productivity and lower costs and PHP's a way to do that."

He also questioned the relevance of enterprise Java, calling it too complicated and not really designed with the Web in mind. "The Java community today has already discovered that enterprise Java is not suitable for Web workloads so they're trying to reinvent themselves by creating lightweight Web frameworks for Java," such as the Spring Framework, Gutmans said.

"What we're seeing is a lot of enterprise Java developers are moving away from enterprise Java. Some of them are staying [in the] Java world and going to lightweight Web frameworks but a lot of them actually moving to dynamic languages including PHP," said Gutmans.

Zend this week also announced a beta version of Zend Studio 7.1, an upgrade to Zend's PHP IDE featuring  remote server support and integrated support for task -focused programming based on the Eclipse Mylyn project. Version 7.1 is due to ship by the end of 2009.

Join the CIO Australia group on LinkedIn. The group is open to CIOs, IT Directors, COOs, CTOs and senior IT managers.

More about: Eclipse, Hewlett-Packard, HP, Unicode, Zend Technologies
References show all

Comments

1

Anonymous

Fri 06/11/2009 - 12:47

In other news...

In other news, the PHP devs announced the planned release of the "Pwn0zrd-Instantly" package, which will allow outsourced PHP programmers to write insecure, unmaintainable garbage code in half the time! A planned addon will also automatically change every subject/verb combination in text to give a consistent "fourth-grade English" feel to apps.

2

Anonymous

Sat 07/11/2009 - 02:52

In response to the previous commenter

In response to the tool with the post titled "In other news...", the "insecure, unmaintainable garbage code" you refer to could be written in any programming language. It's the programmer and not the language, stupid. I doubt the guys using PHP at Yahoo!, Facebook (yes, Facebook), the IGN.com network, IBM are writing much garbage code.

Post new comment

The content of this field is kept private and will not be shown publicly.
Users posting comments agree to the CIO comments policy.
Login or register to link comments to your user profile, or you may also post a comment without being logged in.
Related Coverage
Related Whitepapers
Latest Stories
Community Comments
Tags: php, php 6, software development, unicode
Latest Blog Posts
Whitepapers
  • Risk management: ensuring the security of your hosted information
    Organisations of all sizes are becoming victims to cybercriminals, data breaches, information theft and security risks. But before you go out and spend a fortune on security software, solutions and consultants, the starting point is to identify and measure your business’s exposure to those risks. In this whitepaper, “Exploring, Identifying and Measuring” risk, we examine how to identify risk and share an approach for identifying and measuring risk in your organisation.
    Learn more »
  • Business Intelligence Best Practices for Dashboard Design
    Even if a dashboard’s appearance looks professional and is aesthetically pleasing, appearances can be deceiving. Although visual design is important, it is also important to ask yourself: Is the data reliable? Is it timely? Is any data missing? Is it consistent across all dashboards?. This paper offers an overview of best practice business intelligence (BI) dashboard design principles and discusses data integration options for getting data into a dashboard.
    Learn more »
  • Bend or break: Flexible Policy
    DON’T. PANIC. Aligning business and IT needs has always been a challenge. Finding the right balance between ensuring the safety of sensitive data and enabling the free flow of information is increasingly difficult in today’s evolving regulatory and threat environment. Read on.
    Learn more »
All whitepapers
rhs_login_lockGet exclusive access to Invitation only events CIO, reports & analysis.
Recent comments