I don’t have a timeline right now for that. My goal is to implement most of the ECMA-402 API before moving into beta, but once it gets to beta, stable shouldn’t be too far behind.
@remi@mlocati@derickr@nielsdos I wish I could turn this into a Twitch stream, but I don’t think I’d be very enjoyable to watch. My general development method is a lot of “fuck around and find out.”
@ramsey I'm curious about the reason that made you create this extension, and why you preferred this instead of using PHP's native Intl extension? Is it to bring more standards to the PHP ecosystem?
@pierstoval The short answer is that I wanted a project I could start from scratch to help learn PHP internals and C.
The long answer is: While leading efforts to internationalize and localize our applications at $dayJob. We were using FormatJS, but there wasn’t a comparable library in PHP, so I started building FormatPHP, but I encountered a number of limitations with the native Intl extension.
@pierstoval I found that FormatJS mostly provides polyfills for ECMA-402, so FormatPHP started looking a lot like an ECMA-402 port to PHP.
The more I looked at ECMA-402, the more I wanted a similar API to work with in PHP. So, ecma_intl isn’t just about fixing the limitations of ext-intl or providing the missing functionality, it’s about bringing that API to PHP.
So, in a sense it is about bringing more standards to PHP, but that wasn’t really the motivating factor.
@derrabus It’s not related. This extension is an attempt to port the ECMA-402 specification to PHP. Both the bundled extension and this one are based on ICU.
Add comment