PHP 8.5.0 Beta 1 available for testing

Voting

: min(four, two)?
(Example: nine)

The Note You're Voting On

Marius Kažemėkaitis
18 years ago
Get unicode characters from string.

<?php

mb_regex_encoding
("UTF-8");
mb_ereg_search_init("12345=ąčęėįšųūĄČĘĖĮŠŲŪ");
mb_ereg_search("=(\w+)");
$match = mb_ereg_search_getregs();

print(
$match[1]); //ąčęėįšųūĄČĘĖĮŠŲŪ

?>

<< Back to user notes page

To Top