Home
last modified time | relevance | path

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

/PHP-8.1/ext/mbstring/tests/
H A Dencoding_tests.inc68 function testConversion($fromString, $toString, $fromEncoding, $toEncoding) {
69 $result = mb_convert_encoding($fromString, $toEncoding, $fromEncoding);
76 testConversion($fromString, $toString, $fromEncoding, $toEncoding);
82 testValidConversion($fromString, $toString, $fromEncoding, $toEncoding);
89 testConversion($fromString, $toString, $fromEncoding, $toEncoding);
95 identifyValidString($fromString, $fromEncoding);
100 identifyInvalidString($fromString, $fromEncoding);
111 $fromString = $toString = '';
114 $fromString .= $goodChar;
131 $fromString = array_pop($badChars) . $goodChar;
[all …]
H A Dhz_encoding.phpt62 $fromString = $toString = '';
65 $fromString .= $goodChar;
71 testValidString('~{' . $fromString . '~}', $toString, 'HZ', 'UTF-16BE', $reversible);
85 $fromString = array_pop($badChars) . $goodChar;
88 testInvalidString('~{' . $fromString . '~}', $toString, 'HZ', 'UTF-16BE');
113 $fromString = array_pop($badChars) . $goodChar;
116 convertInvalidString($fromString, $toString, 'UTF-16BE', 'HZ');
/PHP-8.1/build/
H A Dgen_stub.php129 return new ArrayType(Type::fromString("int|string"), Type::fromString("mixed|ref"));
194 public static function fromString(string $typeString): SimpleType function in SimpleType
223 return new ArrayType(Type::fromString("int"), Type::fromString($matches[1]));
233 return new ArrayType(Type::fromString($matches[1]), Type::fromString($matches[3]));
433 public static function fromString(string $typeString): self { function in Type
460 $simpleTypes[] = SimpleType::fromString($simpleTypeName);
2330 isset($docParamTypes[$varName]) ? Type::fromString($docParamTypes[$varName]) : null,
2350 $docReturnType ? Type::fromString($docReturnType) : null,
2418 $phpDocType ? Type::fromString($phpDocType) : null,

Completed in 15 milliseconds