--TEST-- XMLReader::fromStream() - custom constructor with error --EXTENSIONS-- xmlreader --FILE-- "); fseek($h, 0); try { CustomXMLReader::fromStream($h, encoding: "UTF-8"); } catch (Throwable $e) { echo $e->getMessage(), "\n"; } fclose($h); ?> --EXPECT-- nope