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
Second parameter of count function doesn't affect Countable
Using RegexIterator to filter values of collection
CSV file with SplFileObject
Used Versions
PHP 8.2, Laminas MVC 3.2, Symfony 5.2, Laravel 8.28, PHPUnit 9.5, Doctrine ORM 2.8