SHARE
Facebook X Pinterest WhatsApp

An early look at whats coming in PHP V6

Written By
thumbnail
Web Webster
Web Webster
May 6, 2009

[ Thanks to An Anonymous Reader for
this link. ]

“The main feature of PHP V6 is improved support for
Unicode. Currently, PHP is essentially a binary preprocessor. PHP
V5 does not provide native Unicode support; it assumes that all
characters are 1 byte long, which is a problem when handling
non-Latin characters. You can do conversions to Unicode, but it
requires the mbstring extension, which is not enabled by default or
an external tool like iconv.

“PHP V5 does not always render text correctly, or readable,
according to its associated character encoding. Unicode is an
industry standard developed by the Unicode Consortium to represent
every character no matter what the language, no matter the program,
no matter the platform. Unicode, widely supported by standards and
industry, makes international multilingual applications feasible.
Unicode can be represented by different character encodings, the
most common being UTF-8, UTF-16, and UTF-32.

“PHP V6, which supports Unicode (UTF-8) natively, has Unicode
support in the engine, in the extensions and in the API. PHP V6
handles all strings as Unicode, though support has been added to
handle binary strings as a different type. In PHP V6, string
literals are Unicode, Unicode identifiers are allowed, and
functions understand Unicode text. PHP V6 has built-in support for
converting between Unicode strings and other encodings when
required, and supports reading from and writing to a UTF-8
file.”


Complete Story

thumbnail
Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Recommended for you...

5 Best Free and Open Source Text Expander Tools
webmaster
Jun 13, 2025
Grafito: Systemd Journal Log Viewer with a Beautiful Web UI
Bobby Borisov
Jun 12, 2025
FreeBSD Wants to Know a Few Things
brideoflinux
May 11, 2025
NVK enabled for Maxwell, Pascal, and Volta GPUs
Kara Bembridge
May 1, 2025
Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2025 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.