projects
/
pear
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PHP8
[pear]
/
XML
/
Parser.php
diff --git
a/XML/Parser.php
b/XML/Parser.php
index
38723ba
..
6648371
100644
(file)
--- a/
XML/Parser.php
+++ b/
XML/Parser.php
@@
-353,7
+353,7
@@
class XML_Parser extends PEAR
} else {
$xp = xml_parser_create($this->srcenc);
}
- if (is_
resource
($xp)) {
+ if (is_
object
($xp)) {
if ($this->tgtenc !== null) {
if (!xml_parser_set_option($xp, XML_OPTION_TARGET_ENCODING,
$this->tgtenc)