Home
last modified time | relevance | path

Searched refs:toEncoding (Results 1 – 3 of 3) sorted by relevance

/php-src/ext/mbstring/tests/
H A Dencoding_tests.inc90 function testConversion($fromString, $toString, $fromEncoding, $toEncoding) {
91 $result = mb_convert_encoding($fromString, $toEncoding, $fromEncoding);
98 function testValidConversion($fromString, $toString, $fromEncoding, $toEncoding) {
100 testConversion($fromString, $toString, $fromEncoding, $toEncoding);
108 testValidConversion($fromString, $toString, $fromEncoding, $toEncoding);
110 testValidConversion($toString, $fromString, $toEncoding, $fromEncoding);
115 testConversion($fromString, $toString, $fromEncoding, $toEncoding);
127 function testInvalidString($fromString, $toString, $fromEncoding, $toEncoding) {
129 convertInvalidString($fromString, $toString, $fromEncoding, $toEncoding);
157 if ($strLen !== mb_strlen($toString, $toEncoding)) {
[all …]
/php-src/ext/intl/converter/
H A Dconverter.stub.php162 …public static function transcode(string $str, string $toEncoding, string $fromEncoding, ?array $op… argument
H A Dconverter_arginfo.h72 ZEND_ARG_TYPE_INFO(0, toEncoding, IS_STRING, 0)

Completed in 6 milliseconds