Toggle navigation
Home
Code Snippets
Plain PHP
Doctrine
Laminas
Laravel
SQL
Symfony
Unittests
Other Libraries
Blog
Slides/Talks
@SenseException
Make languages readable with Transliterator
Code
<?php
$trans
=
Transliterator
::
create
(
'Armenian-Latin'
);
echo
$trans
->
transliterate
(
'Բարեւ Ձեզ'
);
Result
Barew Jez
More Snippets
Get a list of all possible transliterations
JsonSerialize Interface of PHP
Introduced in PHP 7: IntlChar class containing static methods for characters
Used Versions
PHP 8.2, Laminas MVC 3.2, Symfony 5.2, Laravel 8.28, PHPUnit 9.5, Doctrine ORM 2.8