Replying to Avatar Ben Ramsey

nostr:npub1umuah47rwrtxxqq22c75kze3sdc68wd8394fkwvvym57na90gslq3lajxa 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.

1/n

nostr:npub1umuah47rwrtxxqq22c75kze3sdc68wd8394fkwvvym57na90gslq3lajxa 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.

2/2

Reply to this note

Please Login to reply.