replace XML entities:
This string contains < & >.
replace XML entities:
This string contains < & >.
building XML declaration:
<?xml version="1.0"?>
building XML declaration with additional attributes:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
building DocType declaration:
<!DOCTYPE package SYSTEM "http://pear.php.net/dtd/package-1.0">
building DocType declaration with public ID (does not exist):
<!DOCTYPE package PUBLIC "-//PHP//PEAR/DTD PACKAGE 0.1" "http://pear.php.net/dtd/package-1.0">
building DocType declaration with internal DTD:
<!DOCTYPE package SYSTEM "http://pear.php.net/dtd/package-1.0" [ <!ELEMENT additionalInfo (#PCDATA)> ]>
argh="tomato" foo="bar"
Array ( [namespace] => xslt [localPart] => stylesheet )
Array ( [namespace] => [localPart] => foo )
Array ( [namespace] => bar [localPart] => foo )
PEAR_Error Object ( [error_message_prefix] => [mode] => 1 [level] => 1024 [code] => 51 [message] => XML names may only contain alphanumeric chars, period, hyphen, colon and underscores [userinfo] => [backtrace] => Array ( [0] => Array ( [file] => /opt/cpanel/ea-php72/root/usr/share/pear/PEAR.php [line] => 577 [function] => __construct [class] => PEAR_Error [type] => -> [args] => Array ( [0] => XML names may only contain alphanumeric chars, period, hyphen, colon and underscores [1] => 51 [2] => 1 [3] => 1024 [4] => ) ) [1] => Array ( [file] => /opt/cpanel/ea-php72/root/usr/share/pear/PEAR.php [line] => 236 [function] => _raiseError [class] => PEAR [type] => :: [args] => Array ( [0] => [1] => XML names may only contain alphanumeric chars, period, hyphen, colon and underscores [2] => 51 ) ) [2] => Array ( [file] => /opt/cpanel/ea-php72/root/usr/share/pear/XML/Util.php [line] => 960 [function] => __callStatic [class] => PEAR [type] => :: [args] => Array ( [0] => raiseError [1] => Array ( [0] => XML names may only contain alphanumeric chars, period, hyphen, colon and underscores [1] => 51 ) ) ) [3] => Array ( [file] => /opt/cpanel/ea-php72/root/usr/share/pear/XML/Util.php [line] => 938 [function] => raiseError [class] => XML_Util [type] => :: [args] => Array ( [0] => XML names may only contain alphanumeric chars, period, hyphen, colon and underscores [1] => 51 ) ) [4] => Array ( [file] => /home/japanpc/public_html/PEAR/docs/XML_Util/examples/example.php [line] => 167 [function] => isValidName [class] => XML_Util [type] => :: [args] => Array ( [0] => My Private Tag ) ) ) [callback] => )
PEAR_Error Object ( [error_message_prefix] => [mode] => 1 [level] => 1024 [code] => 52 [message] => XML names may only start with letter or underscore [userinfo] => [backtrace] => Array ( [0] => Array ( [file] => /opt/cpanel/ea-php72/root/usr/share/pear/PEAR.php [line] => 577 [function] => __construct [class] => PEAR_Error [type] => -> [args] => Array ( [0] => XML names may only start with letter or underscore [1] => 52 [2] => 1 [3] => 1024 [4] => ) ) [1] => Array ( [file] => /opt/cpanel/ea-php72/root/usr/share/pear/PEAR.php [line] => 236 [function] => _raiseError [class] => PEAR [type] => :: [args] => Array ( [0] => [1] => XML names may only start with letter or underscore [2] => 52 ) ) [2] => Array ( [file] => /opt/cpanel/ea-php72/root/usr/share/pear/XML/Util.php [line] => 960 [function] => __callStatic [class] => PEAR [type] => :: [args] => Array ( [0] => raiseError [1] => Array ( [0] => XML names may only start with letter or underscore [1] => 52 ) ) ) [3] => Array ( [file] => /opt/cpanel/ea-php72/root/usr/share/pear/XML/Util.php [line] => 924 [function] => raiseError [class] => XML_Util [type] => :: [args] => Array ( [0] => XML names may only start with letter or underscore [1] => 52 ) ) [4] => Array ( [file] => /home/japanpc/public_html/PEAR/docs/XML_Util/examples/example.php [line] => 173 [function] => isValidName [class] => XML_Util [type] => :: [args] => Array ( [0] => -MyTag ) ) ) [callback] => )
PEAR_Error Object ( [error_message_prefix] => [mode] => 1 [level] => 1024 [code] => 60 [message] => Supplied non-scalar value as tag content [userinfo] => [backtrace] => Array ( [0] => Array ( [file] => /opt/cpanel/ea-php72/root/usr/share/pear/PEAR.php [line] => 577 [function] => __construct [class] => PEAR_Error [type] => -> [args] => Array ( [0] => Supplied non-scalar value as tag content [1] => 60 [2] => 1 [3] => 1024 [4] => ) ) [1] => Array ( [file] => /opt/cpanel/ea-php72/root/usr/share/pear/PEAR.php [line] => 236 [function] => _raiseError [class] => PEAR [type] => :: [args] => Array ( [0] => [1] => Supplied non-scalar value as tag content [2] => 60 ) ) [2] => Array ( [file] => /opt/cpanel/ea-php72/root/usr/share/pear/XML/Util.php [line] => 960 [function] => __callStatic [class] => PEAR [type] => :: [args] => Array ( [0] => raiseError [1] => Array ( [0] => Supplied non-scalar value as tag content [1] => 60 ) ) ) [3] => Array ( [file] => /opt/cpanel/ea-php72/root/usr/share/pear/XML/Util.php [line] => 637 [function] => raiseError [class] => XML_Util [type] => :: [args] => Array ( [0] => Supplied non-scalar value as tag content [1] => 60 ) ) [4] => Array ( [file] => /home/japanpc/public_html/PEAR/docs/XML_Util/examples/example.php [line] => 284 [function] => createTagFromArray [class] => XML_Util [type] => :: [args] => Array ( [0] => Array ( [qname] => bar [content] => Array ( [foo] => bar ) ) ) ) ) [callback] => )
PEAR_Error Object ( [error_message_prefix] => [mode] => 1 [level] => 1024 [code] => 61 [message] => You must either supply a qualified name (qname) or local tag name (localPart). [userinfo] => [backtrace] => Array ( [0] => Array ( [file] => /opt/cpanel/ea-php72/root/usr/share/pear/PEAR.php [line] => 577 [function] => __construct [class] => PEAR_Error [type] => -> [args] => Array ( [0] => You must either supply a qualified name (qname) or local tag name (localPart). [1] => 61 [2] => 1 [3] => 1024 [4] => ) ) [1] => Array ( [file] => /opt/cpanel/ea-php72/root/usr/share/pear/PEAR.php [line] => 236 [function] => _raiseError [class] => PEAR [type] => :: [args] => Array ( [0] => [1] => You must either supply a qualified name (qname) or local tag name (localPart). [2] => 61 ) ) [2] => Array ( [file] => /opt/cpanel/ea-php72/root/usr/share/pear/XML/Util.php [line] => 960 [function] => __callStatic [class] => PEAR [type] => :: [args] => Array ( [0] => raiseError [1] => Array ( [0] => You must either supply a qualified name (qname) or local tag name (localPart). [1] => 61 ) ) ) [3] => Array ( [file] => /opt/cpanel/ea-php72/root/usr/share/pear/XML/Util.php [line] => 645 [function] => raiseError [class] => XML_Util [type] => :: [args] => Array ( [0] => You must either supply a qualified name (qname) or local tag name (localPart). [1] => 61 ) ) [4] => Array ( [file] => /home/japanpc/public_html/PEAR/docs/XML_Util/examples/example.php [line] => 296 [function] => createTagFromArray [class] => XML_Util [type] => :: [args] => Array ( [0] => Array ( [attributes] => Array ( [foo] => bar ) ) ) ) ) [callback] => )