Home
last modified time | relevance | path

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

/php-src/ext/mbstring/tests/
H A Dencoding_tests.inc100 testConversion($fromString, $toString, $fromEncoding, $toEncoding);
115 testConversion($fromString, $toString, $fromEncoding, $toEncoding);
123 identifyValidString($fromString, $fromEncoding);
128 identifyInvalidString($fromString, $fromEncoding);
138 $fromString = $toString = '';
140 $fromString .= $goodChar;
147 $fromString = $toString = '';
150 $fromString .= $goodChar;
156 $strLen = mb_strlen($fromString, $fromEncoding);
173 $fromString = array_pop($badChars) . $goodChar;
[all …]
H A Dhz_encoding.phpt63 $fromString = $toString = '';
66 $fromString .= $goodChar;
72 testValidString('~{' . $fromString . '~}', $toString, 'HZ', 'UTF-16BE', $reversible);
86 $fromString = array_pop($badChars) . $goodChar;
89 testInvalidString('~{' . $fromString . '~}', $toString, 'HZ', 'UTF-16BE');
114 $fromString = array_pop($badChars) . $goodChar;
117 convertInvalidString($fromString, $toString, 'UTF-16BE', 'HZ');
/php-src/ext/xmlreader/tests/
H A DfromString_custom_constructor_error.phpt2 XMLReader::fromString() - custom constructor with error
14 CustomXMLReader::fromString("<root/>");
H A DfromString_custom_constructor.phpt2 XMLReader::fromString() - custom constructor
16 $reader = CustomXMLReader::fromString("<root/>");
H A Dvar_dump.phpt7 $reader = XMLReader::fromString("<root>hi</root>");
/php-src/ext/xmlreader/
H A Dphp_xmlreader.stub.php221 …public static function fromString(string $source, ?string $encoding = null, int $flags = 0): stati… function in XMLReader
H A Dphp_xmlreader_arginfo.h139 ZEND_METHOD(XMLReader, fromString);
169 ZEND_ME(XMLReader, fromString, arginfo_class_XMLReader_fromString, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
H A Dphp_xmlreader.c1261 PHP_METHOD(XMLReader, fromString) in PHP_METHOD() argument
/php-src/build/
H A Dgen_stub.php191 return new ArrayType(Type::fromString("int|string"), Type::fromString("mixed|ref"));
254 public static function fromString(string $typeString): SimpleType function in SimpleType
284 return new ArrayType(Type::fromString("int"), Type::fromString($matches[1]));
294 return new ArrayType(Type::fromString($matches[1]), Type::fromString($matches[3]));
588 SimpleType::fromString("Traversable"),
598 public static function fromString(string $typeString): self { function in Type
627 $simpleTypes[] = SimpleType::fromString($simpleTypeName);
4463 isset($docParamTypes[$varName]) ? Type::fromString($docParamTypes[$varName]) : null,
4484 $docReturnType ? Type::fromString($docReturnType) : null,
4557 $constPhpDocType = $phpDocType ? Type::fromString($phpDocType) : null;
[all …]

Completed in 27 milliseconds