3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (!extension_loaded('intl')) die('skip intl extension not enabled'); ini_set("intl.error_level", E_WARNING); ini_set("intl.default_locale", "de_DE"); echo INTL_ICU_VERSION; $rules = <<<RULES Any-NFC; Any-Latin; Latin-ASCII; Lower; [{ and }{ und }] > '&'; ' van ' > 'v.'; '(tm)' > '™'; '(c)' > '©'; '(r)' > '®'; '(at)' > '@'; [^a-z0-9] Remove; RULES; var_dump( \transliterator_transliterate( 'foo and bar und baz', 'foobarbaz' ) ); ?>
Output for git.master, git.master_jit, rfc.property-hooks
57.1 Warning: transliterator_transliterate(): transliterator_create: unable to open ICU transliterator with id "foo and bar und baz" in /in/kVHTP on line 25 Warning: transliterator_transliterate(): Could not create transliterator with ID "foo and bar und baz" (transliterator_create: unable to open ICU transliterator with id "foo and bar und baz": U_INVALID_ID) in /in/kVHTP on line 25 bool(false)

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
65.11 ms | 402 KiB | 8 Q