PHP  
 PHP_HEAD
downloads | QA | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
 

Test Failure Report for ext/xml/tests/bug32001.phpt ('Bug #32001 (xml_parse*() goes into infinite loop when autodetection in effect), using UTF-*')

Script

1: <?php
2:
class testcase {
3:     private 
$encoding;
4:     private 
$bom;
5:     private 
$prologue;
6:     private 
$tags;
7:     private 
$chunk_size;
8:
9:     function 
testcase($enc$chunk_size 0$bom 0$omit_prologue 0) {
10:         
$this->encoding $enc;
11:         
$this->chunk_size $chunk_size;
12:         
$this->bom $bom;
13:         
$this->prologue = !$omit_prologue;
14:         
$this->tags = array();
15:     }
16:
17:     function 
start_element($parser$name$attrs) {
18:         
$attrs array_map('bin2hex'$attrs);
19:         
$this->tags[] = bin2hex($name).": ".implode(', '$attrs);
20:     }
21:
22:     function 
end_element($parser$name) {
23:     }
24:
25:     function 
run() {
26:         
$data '';
27:
28:         if (
$this->prologue) {
29:             
$canonical_name preg_replace('/BE|LE/i'''$this->encoding);
30:             
$data .= "<?xml version=\"1.0\" encoding=\"$canonical_name\" ?>\n";
31:         }
32:
33:         
$data .= <<<HERE
34:
<テスト:テスト1 xmlns:テスト="http://www.example.com/テスト/" テスト="テスト">
35:   <テスト:テスト2 テスト="テスト">
36:     <テスト:テスト3>
37:       test! 
38:     </テスト:テスト3>
39:   </テスト:テスト2>
40: </テスト:テスト1>
41:
HERE;
42:
43:         
$data iconv("UTF-8"$this->encoding$data);
44:
45:         if (
$this->bom) {
46:             switch (
strtoupper($this->encoding)) {
47:                 case 
'UTF-8':
48:                 case 
'UTF8':
49:                     
$data "\xef\xbb\xbf".$data;
50:                     break;
51:
52:                 case 
'UTF-16':
53:                 case 
'UTF16':
54:                 case 
'UTF-16BE':
55:                 case 
'UTF16BE':
56:                 case 
'UCS-2':
57:                 case 
'UCS2':
58:                 case 
'UCS-2BE':
59:                 case 
'UCS2BE':
60:                     
$data "\xfe\xff".$data;
61:                     break;
62:
63:                 case 
'UTF-16LE':
64:                 case 
'UTF16LE':
65:                 case 
'UCS-2LE':
66:                 case 
'UCS2LE':
67:                     
$data "\xff\xfe".$data;
68:                     break;
69:
70:                 case 
'UTF-32':
71:                 case 
'UTF32':
72:                 case 
'UTF-32BE':
73:                 case 
'UTF32BE':
74:                 case 
'UCS-4':
75:                 case 
'UCS4':
76:                 case 
'UCS-4BE':
77:                 case 
'UCS4BE':
78:                     
$data "\x00\x00\xfe\xff".$data;
79:                     break;
80:
81:                 case 
'UTF-32LE':
82:                 case 
'UTF32LE':
83:                 case 
'UCS-4LE':
84:                 case 
'UCS4LE':
85:                     
$data "\xff\xfe\x00\x00".$data;
86:                     break;
87:             }
88:         }
89:
90:         
$parser xml_parser_create(NULL);
91:         
xml_parser_set_option($parserXML_OPTION_CASE_FOLDING0);
92:         
xml_set_element_handler($parser"start_element""end_element");
93:         
xml_set_object($parser$this);
94:
95:         if (
$this->chunk_size == 0) {
96:             
$success = @xml_parse($parser$datatrue);
97:         } else {
98:             for (
$offset 0$offset strlen($data);
99:                     
$offset += $this->chunk_size) {
100:                 
$success = @xml_parse($parsersubstr($data$offset$this->chunk_size), false);
101:                 if (!
$success) {
102:                     break;
103:                 }
104:             }
105:             if (
$success) {
106:                 
$success = @xml_parse($parser""true);
107:             }
108:         }
109:
110:         echo 
"Encoding: $this->encoding\n";
111:         echo 
"XML Prologue: ".($this->prologue 'present''not present'), "\n";
112:         echo 
"Chunk size: ".($this->chunk_size "$this->chunk_size byte(s)\n""all data at once\n");
113:         echo 
"BOM: ".($this->bom 'prepended''not prepended'), "\n";
114:
115:         if (
$success) { 
116:             
var_dump($this->tags);
117:         } else {
118:             echo 
"[Error] "xml_error_string(xml_get_error_code($parser)), "\n";
119:         }
120:     }
121: }
122:
$suite = array(
123:     new 
testcase("UTF-8",     000),
124:     new 
testcase("UTF-8",     001),
125:     new 
testcase("UTF-8",     010),
126:     new 
testcase("UTF-8",     011),
127:     new 
testcase("UTF-16BE",  000),
128:     new 
testcase("UTF-16BE",  010),
129:     new 
testcase("UTF-16BE",  011),
130:     new 
testcase("UTF-16LE",  000),
131:     new 
testcase("UTF-16LE",  010),
132:     new 
testcase("UTF-16LE",  011),
133:     new 
testcase("UTF-8",     100),
134:     new 
testcase("UTF-8",     101),
135:     new 
testcase("UTF-8",     110),
136:     new 
testcase("UTF-8",     111),
137:     new 
testcase("UTF-16BE",  100),
138:     new 
testcase("UTF-16BE",  110),
139:     new 
testcase("UTF-16BE",  111),
140:     new 
testcase("UTF-16LE",  100),
141:     new 
testcase("UTF-16LE",  110),
142:     new 
testcase("UTF-16LE",  111),
143: );
144:
145: if (
XML_SAX_IMPL == 'libxml') {
146:   echo 
"libxml2 Version => " LIBXML_DOTTED_VERSION"\n";
147: } else {
148:   echo 
"libxml2 Version => NONE\n";  
149: }
150:
151: foreach (
$suite as $testcase) {
152:     
$testcase->run();
153: }
154:
155:
// vim600: sts=4 sw=4 ts=4 encoding=UTF-8
156:
?>
157:

Expected

libxml2 Version => %s
Encoding: UTF-8
XML Prologue: present
Chunk size: all data at once
BOM: not prepended
array(3) {
  [0]=>
  string(128) "e38386e382b9e383883ae38386e382b9e3838831: 687474703a2f2f7777772e6578616d706c652e636f6d2fe38386e382b9e383882f, e38386e382b9e38388"
  [1]=>
  string(60) "e38386e382b9e383883ae38386e382b9e3838832: e38386e382b9e38388"
  [2]=>
  string(42) "e38386e382b9e383883ae38386e382b9e3838833: "
}
Encoding: UTF-8
XML Prologue: not present
Chunk size: all data at once
BOM: not prepended
array(3) {
  [0]=>
  string(128) "e38386e382b9e383883ae38386e382b9e3838831: 687474703a2f2f7777772e6578616d706c652e636f6d2fe38386e382b9e383882f, e38386e382b9e38388"
  [1]=>
  string(60) "e38386e382b9e383883ae38386e382b9e3838832: e38386e382b9e38388"
  [2]=>
  string(42) "e38386e382b9e383883ae38386e382b9e3838833: "
}
Encoding: UTF-8
XML Prologue: present
Chunk size: all data at once
BOM: prepended
array(3) {
  [0]=>
  string(128) "e38386e382b9e383883ae38386e382b9e3838831: 687474703a2f2f7777772e6578616d706c652e636f6d2fe38386e382b9e383882f, e38386e382b9e38388"
  [1]=>
  string(60) "e38386e382b9e383883ae38386e382b9e3838832: e38386e382b9e38388"
  [2]=>
  string(42) "e38386e382b9e383883ae38386e382b9e3838833: "
}
Encoding: UTF-8
XML Prologue: not present
Chunk size: all data at once
BOM: prepended
array(3) {
  [0]=>
  string(128) "e38386e382b9e383883ae38386e382b9e3838831: 687474703a2f2f7777772e6578616d706c652e636f6d2fe38386e382b9e383882f, e38386e382b9e38388"
  [1]=>
  string(60) "e38386e382b9e383883ae38386e382b9e3838832: e38386e382b9e38388"
  [2]=>
  string(42) "e38386e382b9e383883ae38386e382b9e3838833: "
}
Encoding: UTF-16BE
XML Prologue: present
Chunk size: all data at once
BOM: not prepended
array(3) {
  [0]=>
  string(128) "e38386e382b9e383883ae38386e382b9e3838831: 687474703a2f2f7777772e6578616d706c652e636f6d2fe38386e382b9e383882f, e38386e382b9e38388"
  [1]=>
  string(60) "e38386e382b9e383883ae38386e382b9e3838832: e38386e382b9e38388"
  [2]=>
  string(42) "e38386e382b9e383883ae38386e382b9e3838833: "
}
Encoding: UTF-16BE
XML Prologue: present
Chunk size: all data at once
BOM: prepended
array(3) {
  [0]=>
  string(128) "e38386e382b9e383883ae38386e382b9e3838831: 687474703a2f2f7777772e6578616d706c652e636f6d2fe38386e382b9e383882f, e38386e382b9e38388"
  [1]=>
  string(60) "e38386e382b9e383883ae38386e382b9e3838832: e38386e382b9e38388"
  [2]=>
  string(42) "e38386e382b9e383883ae38386e382b9e3838833: "
}
Encoding: UTF-16BE
XML Prologue: not present
Chunk size: all data at once
BOM: prepended
array(3) {
  [0]=>
  string(128) "e38386e382b9e383883ae38386e382b9e3838831: 687474703a2f2f7777772e6578616d706c652e636f6d2fe38386e382b9e383882f, e38386e382b9e38388"
  [1]=>
  string(60) "e38386e382b9e383883ae38386e382b9e3838832: e38386e382b9e38388"
  [2]=>
  string(42) "e38386e382b9e383883ae38386e382b9e3838833: "
}
Encoding: UTF-16LE
XML Prologue: present
Chunk size: all data at once
BOM: not prepended
array(3) {
  [0]=>
  string(128) "e38386e382b9e383883ae38386e382b9e3838831: 687474703a2f2f7777772e6578616d706c652e636f6d2fe38386e382b9e383882f, e38386e382b9e38388"
  [1]=>
  string(60) "e38386e382b9e383883ae38386e382b9e3838832: e38386e382b9e38388"
  [2]=>
  string(42) "e38386e382b9e383883ae38386e382b9e3838833: "
}
Encoding: UTF-16LE
XML Prologue: present
Chunk size: all data at once
BOM: prepended
array(3) {
  [0]=>
  string(128) "e38386e382b9e383883ae38386e382b9e3838831: 687474703a2f2f7777772e6578616d706c652e636f6d2fe38386e382b9e383882f, e38386e382b9e38388"
  [1]=>
  string(60) "e38386e382b9e383883ae38386e382b9e3838832: e38386e382b9e38388"
  [2]=>
  string(42) "e38386e382b9e383883ae38386e382b9e3838833: "
}
Encoding: UTF-16LE
XML Prologue: not present
Chunk size: all data at once
BOM: prepended
array(3) {
  [0]=>
  string(128) "e38386e382b9e383883ae38386e382b9e3838831: 687474703a2f2f7777772e6578616d706c652e636f6d2fe38386e382b9e383882f, e38386e382b9e38388"
  [1]=>
  string(60) "e38386e382b9e383883ae38386e382b9e3838832: e38386e382b9e38388"
  [2]=>
  string(42) "e38386e382b9e383883ae38386e382b9e3838833: "
}
Encoding: UTF-8
XML Prologue: present
Chunk size: 1 byte(s)
BOM: not prepended
array(3) {
  [0]=>
  string(128) "e38386e382b9e383883ae38386e382b9e3838831: 687474703a2f2f7777772e6578616d706c652e636f6d2fe38386e382b9e383882f, e38386e382b9e38388"
  [1]=>
  string(60) "e38386e382b9e383883ae38386e382b9e3838832: e38386e382b9e38388"
  [2]=>
  string(42) "e38386e382b9e383883ae38386e382b9e3838833: "
}
Encoding: UTF-8
XML Prologue: not present
Chunk size: 1 byte(s)
BOM: not prepended
array(3) {
  [0]=>
  string(128) "e38386e382b9e383883ae38386e382b9e3838831: 687474703a2f2f7777772e6578616d706c652e636f6d2fe38386e382b9e383882f, e38386e382b9e38388"
  [1]=>
  string(60) "e38386e382b9e383883ae38386e382b9e3838832: e38386e382b9e38388"
  [2]=>
  string(42) "e38386e382b9e383883ae38386e382b9e3838833: "
}
Encoding: UTF-8
XML Prologue: present
Chunk size: 1 byte(s)
BOM: prepended
array(3) {
  [0]=>
  string(128) "e38386e382b9e383883ae38386e382b9e3838831: 687474703a2f2f7777772e6578616d706c652e636f6d2fe38386e382b9e383882f, e38386e382b9e38388"
  [1]=>
  string(60) "e38386e382b9e383883ae38386e382b9e3838832: e38386e382b9e38388"
  [2]=>
  string(42) "e38386e382b9e383883ae38386e382b9e3838833: "
}
Encoding: UTF-8
XML Prologue: not present
Chunk size: 1 byte(s)
BOM: prepended
array(3) {
  [0]=>
  string(128) "e38386e382b9e383883ae38386e382b9e3838831: 687474703a2f2f7777772e6578616d706c652e636f6d2fe38386e382b9e383882f, e38386e382b9e38388"
  [1]=>
  string(60) "e38386e382b9e383883ae38386e382b9e3838832: e38386e382b9e38388"
  [2]=>
  string(42) "e38386e382b9e383883ae38386e382b9e3838833: "
}
Encoding: UTF-16BE
XML Prologue: present
Chunk size: 1 byte(s)
BOM: not prepended
array(3) {
  [0]=>
  string(128) "e38386e382b9e383883ae38386e382b9e3838831: 687474703a2f2f7777772e6578616d706c652e636f6d2fe38386e382b9e383882f, e38386e382b9e38388"
  [1]=>
  string(60) "e38386e382b9e383883ae38386e382b9e3838832: e38386e382b9e38388"
  [2]=>
  string(42) "e38386e382b9e383883ae38386e382b9e3838833: "
}
Encoding: UTF-16BE
XML Prologue: present
Chunk size: 1 byte(s)
BOM: prepended
array(3) {
  [0]=>
  string(128) "e38386e382b9e383883ae38386e382b9e3838831: 687474703a2f2f7777772e6578616d706c652e636f6d2fe38386e382b9e383882f, e38386e382b9e38388"
  [1]=>
  string(60) "e38386e382b9e383883ae38386e382b9e3838832: e38386e382b9e38388"
  [2]=>
  string(42) "e38386e382b9e383883ae38386e382b9e3838833: "
}
Encoding: UTF-16BE
XML Prologue: not present
Chunk size: 1 byte(s)
BOM: prepended
array(3) {
  [0]=>
  string(128) "e38386e382b9e383883ae38386e382b9e3838831: 687474703a2f2f7777772e6578616d706c652e636f6d2fe38386e382b9e383882f, e38386e382b9e38388"
  [1]=>
  string(60) "e38386e382b9e383883ae38386e382b9e3838832: e38386e382b9e38388"
  [2]=>
  string(42) "e38386e382b9e383883ae38386e382b9e3838833: "
}
Encoding: UTF-16LE
XML Prologue: present
Chunk size: 1 byte(s)
BOM: not prepended
array(3) {
  [0]=>
  string(128) "e38386e382b9e383883ae38386e382b9e3838831: 687474703a2f2f7777772e6578616d706c652e636f6d2fe38386e382b9e383882f, e38386e382b9e38388"
  [1]=>
  string(60) "e38386e382b9e383883ae38386e382b9e3838832: e38386e382b9e38388"
  [2]=>
  string(42) "e38386e382b9e383883ae38386e382b9e3838833: "
}
Encoding: UTF-16LE
XML Prologue: present
Chunk size: 1 byte(s)
BOM: prepended
array(3) {
  [0]=>
  string(128) "e38386e382b9e383883ae38386e382b9e3838831: 687474703a2f2f7777772e6578616d706c652e636f6d2fe38386e382b9e383882f, e38386e382b9e38388"
  [1]=>
  string(60) "e38386e382b9e383883ae38386e382b9e3838832: e38386e382b9e38388"
  [2]=>
  string(42) "e38386e382b9e383883ae38386e382b9e3838833: "
}
Encoding: UTF-16LE
XML Prologue: not present
Chunk size: 1 byte(s)
BOM: prepended
array(3) {
  [0]=>
  string(128) "e38386e382b9e383883ae38386e382b9e3838831: 687474703a2f2f7777772e6578616d706c652e636f6d2fe38386e382b9e383882f, e38386e382b9e38388"
  [1]=>
  string(60) "e38386e382b9e383883ae38386e382b9e3838832: e38386e382b9e38388"
  [2]=>
  string(42) "e38386e382b9e383883ae38386e382b9e3838833: "
}

Output

libxml2 Version => 2.7.6
Encoding: UTF-8
XML Prologue: present
Chunk size: all data at once
BOM: not prepended
array(3) {
  [0]=>
  string(128) "e38386e382b9e383883ae38386e382b9e3838831: 687474703a2f2f7777772e6578616d706c652e636f6d2fe38386e382b9e383882f, e38386e382b9e38388"
  [1]=>
  string(60) "e38386e382b9e383883ae38386e382b9e3838832: e38386e382b9e38388"
  [2]=>
  string(42) "e38386e382b9e383883ae38386e382b9e3838833: "
}
Encoding: UTF-8
XML Prologue: not present
Chunk size: all data at once
BOM: not prepended
array(3) {
  [0]=>
  string(128) "e38386e382b9e383883ae38386e382b9e3838831: 687474703a2f2f7777772e6578616d706c652e636f6d2fe38386e382b9e383882f, e38386e382b9e38388"
  [1]=>
  string(60) "e38386e382b9e383883ae38386e382b9e3838832: e38386e382b9e38388"
  [2]=>
  string(42) "e38386e382b9e383883ae38386e382b9e3838833: "
}
Encoding: UTF-8
XML Prologue: present
Chunk size: all data at once
BOM: prepended
array(3) {
  [0]=>
  string(128) "e38386e382b9e383883ae38386e382b9e3838831: 687474703a2f2f7777772e6578616d706c652e636f6d2fe38386e382b9e383882f, e38386e382b9e38388"
  [1]=>
  string(60) "e38386e382b9e383883ae38386e382b9e3838832: e38386e382b9e38388"
  [2]=>
  string(42) "e38386e382b9e383883ae38386e382b9e3838833: "
}
Encoding: UTF-8
XML Prologue: not present
Chunk size: all data at once
BOM: prepended
array(3) {
  [0]=>
  string(128) "e38386e382b9e383883ae38386e382b9e3838831: 687474703a2f2f7777772e6578616d706c652e636f6d2fe38386e382b9e383882f, e38386e382b9e38388"
  [1]=>
  string(60) "e38386e382b9e383883ae38386e382b9e3838832: e38386e382b9e38388"
  [2]=>
  string(42) "e38386e382b9e383883ae38386e382b9e3838833: "
}
Encoding: UTF-16BE
XML Prologue: present
Chunk size: all data at once
BOM: not prepended
array(3) {
  [0]=>
  string(128) "e38386e382b9e383883ae38386e382b9e3838831: 687474703a2f2f7777772e6578616d706c652e636f6d2fe38386e382b9e383882f, e38386e382b9e38388"
  [1]=>
  string(60) "e38386e382b9e383883ae38386e382b9e3838832: e38386e382b9e38388"
  [2]=>
  string(42) "e38386e382b9e383883ae38386e382b9e3838833: "
}
Encoding: UTF-16BE
XML Prologue: present
Chunk size: all data at once
BOM: prepended
array(3) {
  [0]=>
  string(128) "e38386e382b9e383883ae38386e382b9e3838831: 687474703a2f2f7777772e6578616d706c652e636f6d2fe38386e382b9e383882f, e38386e382b9e38388"
  [1]=>
  string(60) "e38386e382b9e383883ae38386e382b9e3838832: e38386e382b9e38388"
  [2]=>
  string(42) "e38386e382b9e383883ae38386e382b9e3838833: "
}
Encoding: UTF-16BE
XML Prologue: not present
Chunk size: all data at once
BOM: prepended
array(3) {
  [0]=>
  string(128) "e38386e382b9e383883ae38386e382b9e3838831: 687474703a2f2f7777772e6578616d706c652e636f6d2fe38386e382b9e383882f, e38386e382b9e38388"
  [1]=>
  string(60) "e38386e382b9e383883ae38386e382b9e3838832: e38386e382b9e38388"
  [2]=>
  string(42) "e38386e382b9e383883ae38386e382b9e3838833: "
}
Encoding: UTF-16LE
XML Prologue: present
Chunk size: all data at once
BOM: not prepended
array(3) {
  [0]=>
  string(128) "e38386e382b9e383883ae38386e382b9e3838831: 687474703a2f2f7777772e6578616d706c652e636f6d2fe38386e382b9e383882f, e38386e382b9e38388"
  [1]=>
  string(60) "e38386e382b9e383883ae38386e382b9e3838832: e38386e382b9e38388"
  [2]=>
  string(42) "e38386e382b9e383883ae38386e382b9e3838833: "
}
Encoding: UTF-16LE
XML Prologue: present
Chunk size: all data at once
BOM: prepended
array(3) {
  [0]=>
  string(128) "e38386e382b9e383883ae38386e382b9e3838831: 687474703a2f2f7777772e6578616d706c652e636f6d2fe38386e382b9e383882f, e38386e382b9e38388"
  [1]=>
  string(60) "e38386e382b9e383883ae38386e382b9e3838832: e38386e382b9e38388"
  [2]=>
  string(42) "e38386e382b9e383883ae38386e382b9e3838833: "
}
Encoding: UTF-16LE
XML Prologue: not present
Chunk size: all data at once
BOM: prepended
array(3) {
  [0]=>
  string(128) "e38386e382b9e383883ae38386e382b9e3838831: 687474703a2f2f7777772e6578616d706c652e636f6d2fe38386e382b9e383882f, e38386e382b9e38388"
  [1]=>
  string(60) "e38386e382b9e383883ae38386e382b9e3838832: e38386e382b9e38388"
  [2]=>
  string(42) "e38386e382b9e383883ae38386e382b9e3838833: "
}
Encoding: UTF-8
XML Prologue: present
Chunk size: 1 byte(s)
BOM: not prepended
array(3) {
  [0]=>
  string(128) "e38386e382b9e383883ae38386e382b9e3838831: 687474703a2f2f7777772e6578616d706c652e636f6d2fe38386e382b9e383882f, e38386e382b9e38388"
  [1]=>
  string(60) "e38386e382b9e383883ae38386e382b9e3838832: e38386e382b9e38388"
  [2]=>
  string(42) "e38386e382b9e383883ae38386e382b9e3838833: "
}
Encoding: UTF-8
XML Prologue: not present
Chunk size: 1 byte(s)
BOM: not prepended
array(3) {
  [0]=>
  string(128) "e38386e382b9e383883ae38386e382b9e3838831: 687474703a2f2f7777772e6578616d706c652e636f6d2fe38386e382b9e383882f, e38386e382b9e38388"
  [1]=>
  string(60) "e38386e382b9e383883ae38386e382b9e3838832: e38386e382b9e38388"
  [2]=>
  string(42) "e38386e382b9e383883ae38386e382b9e3838833: "
}
Encoding: UTF-8
XML Prologue: present
Chunk size: 1 byte(s)
BOM: prepended
array(3) {
  [0]=>
  string(128) "e38386e382b9e383883ae38386e382b9e3838831: 687474703a2f2f7777772e6578616d706c652e636f6d2fe38386e382b9e383882f, e38386e382b9e38388"
  [1]=>
  string(60) "e38386e382b9e383883ae38386e382b9e3838832: e38386e382b9e38388"
  [2]=>
  string(42) "e38386e382b9e383883ae38386e382b9e3838833: "
}
Encoding: UTF-8
XML Prologue: not present
Chunk size: 1 byte(s)
BOM: prepended
array(3) {
  [0]=>
  string(128) "e38386e382b9e383883ae38386e382b9e3838831: 687474703a2f2f7777772e6578616d706c652e636f6d2fe38386e382b9e383882f, e38386e382b9e38388"
  [1]=>
  string(60) "e38386e382b9e383883ae38386e382b9e3838832: e38386e382b9e38388"
  [2]=>
  string(42) "e38386e382b9e383883ae38386e382b9e3838833: "
}
Encoding: UTF-16BE
XML Prologue: present
Chunk size: 1 byte(s)
BOM: not prepended
[Error] Processing Instruction not started
Encoding: UTF-16BE
XML Prologue: present
Chunk size: 1 byte(s)
BOM: prepended
[Error] XML_ERR_NAME_REQUIRED
Encoding: UTF-16BE
XML Prologue: not present
Chunk size: 1 byte(s)
BOM: prepended
[Error] XML_ERR_NAME_REQUIRED
Encoding: UTF-16LE
XML Prologue: present
Chunk size: 1 byte(s)
BOM: not prepended
[Error] Processing Instruction not finished
Encoding: UTF-16LE
XML Prologue: present
Chunk size: 1 byte(s)
BOM: prepended
[Error] Processing Instruction not started
Encoding: UTF-16LE
XML Prologue: not present
Chunk size: 1 byte(s)
BOM: prepended
[Error] > required

Diff

174+ [Error] Processing Instruction not started
175+ Encoding: UTF-16BE
176+ XML Prologue: present
177+ Chunk size: 1 byte(s)
178+ BOM: prepended
179+ [Error] XML_ERR_NAME_REQUIRED
180+ Encoding: UTF-16BE
181+ XML Prologue: not present
182+ Chunk size: 1 byte(s)
183+ BOM: prepended
184+ [Error] XML_ERR_NAME_REQUIRED
185+ Encoding: UTF-16LE
186+ XML Prologue: present
187+ Chunk size: 1 byte(s)
188+ BOM: not prepended
189+ [Error] Processing Instruction not finished
190+ Encoding: UTF-16LE
174- array(3) {
175-   [0]=>
176-   string(128) "e38386e382b9e383883ae38386e382b9e3838831: 687474703a2f2f7777772e6578616d706c652e636f6d2fe38386e382b9e383882f, e38386e382b9e38388"
177-   [1]=>
178-   string(60) "e38386e382b9e383883ae38386e382b9e3838832: e38386e382b9e38388"
179-   [2]=>
180-   string(42) "e38386e382b9e383883ae38386e382b9e3838833: "
181- }
182- Encoding: UTF-16BE
186- array(3) {
187-   [0]=>
188-   string(128) "e38386e382b9e383883ae38386e382b9e3838831: 687474703a2f2f7777772e6578616d706c652e636f6d2fe38386e382b9e383882f, e38386e382b9e38388"
189-   [1]=>
190-   string(60) "e38386e382b9e383883ae38386e382b9e3838832: e38386e382b9e38388"
191-   [2]=>
194+ [Error] Processing Instruction not started
195+ Encoding: UTF-16LE
196+ XML Prologue: not present
197+ Chunk size: 1 byte(s)
198+ BOM: prepended
199+ [Error] > required
192-   string(42) "e38386e382b9e383883ae38386e382b9e3838833: "
193- }
194- Encoding: UTF-16BE
195- XML Prologue: not present
196- Chunk size: 1 byte(s)
197- BOM: prepended
198- array(3) {
199-   [0]=>
200-   string(128) "e38386e382b9e383883ae38386e382b9e3838831: 687474703a2f2f7777772e6578616d706c652e636f6d2fe38386e382b9e383882f, e38386e382b9e38388"
201-   [1]=>
202-   string(60) "e38386e382b9e383883ae38386e382b9e3838832: e38386e382b9e38388"
203-   [2]=>
204-   string(42) "e38386e382b9e383883ae38386e382b9e3838833: "
205- }
206- Encoding: UTF-16LE
207- XML Prologue: present
208- Chunk size: 1 byte(s)
209- BOM: not prepended
210- array(3) {
211-   [0]=>
212-   string(128) "e38386e382b9e383883ae38386e382b9e3838831: 687474703a2f2f7777772e6578616d706c652e636f6d2fe38386e382b9e383882f, e38386e382b9e38388"
213-   [1]=>
214-   string(60) "e38386e382b9e383883ae38386e382b9e3838832: e38386e382b9e38388"
215-   [2]=>
216-   string(42) "e38386e382b9e383883ae38386e382b9e3838833: "
217- }
218- Encoding: UTF-16LE
219- XML Prologue: present
220- Chunk size: 1 byte(s)
221- BOM: prepended
222- array(3) {
223-   [0]=>
224-   string(128) "e38386e382b9e383883ae38386e382b9e3838831: 687474703a2f2f7777772e6578616d706c652e636f6d2fe38386e382b9e383882f, e38386e382b9e38388"
225-   [1]=>
226-   string(60) "e38386e382b9e383883ae38386e382b9e3838832: e38386e382b9e38388"
227-   [2]=>
228-   string(42) "e38386e382b9e383883ae38386e382b9e3838833: "
229- }
230- Encoding: UTF-16LE
231- XML Prologue: not present
232- Chunk size: 1 byte(s)
233- BOM: prepended
234- array(3) {
235-   [0]=>
236-   string(128) "e38386e382b9e383883ae38386e382b9e3838831: 687474703a2f2f7777772e6578616d706c652e636f6d2fe38386e382b9e383882f, e38386e382b9e38388"
237-   [1]=>
238-   string(60) "e38386e382b9e383883ae38386e382b9e3838832: e38386e382b9e38388"
239-   [2]=>
240-   string(42) "e38386e382b9e383883ae38386e382b9e3838833: "
241- }

 

Generated at Mon, 04 Aug 2014 15:49:20 +0000 (16 days ago)

Copyright © 2005-2014 The PHP Group
All rights reserved.