Test: /ext/xml/tests/bug32001.phpt - Version 5.4.7-dev        

Bug #32001 xml_parse_into_struct() function exceeds maximum execution time (object)
Submitted: 2005-02-16 18:08:30 Modified: 2005-03-02 19:15:47
From: geroxp Assigned: jorton
Status: Closed Package: XML related
PHP Version: 5CVS-2005-02-17 OS: Linux (FC3)

There are 4 different diffs reported by users for this test.

Count Diff
7 (58%)
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 finished
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- }
2 (17%)
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- }
2 (17%)
174+ array(0) {
174- array(3) {
175- [0]=>
176- string(128) "e38386e382b9e383883ae38386e382b9e3838831: 687474703a2f2f7777772e6578616d706c652e636f6d2fe38386e382b9e383882f, e38386e382b9e38388"
177- [1]=>
178- string(60) "e38386e382b9e383883ae38386e382b9e3838832: e38386e382b9e38388"
179- [2]=>
180- string(42) "e38386e382b9e383883ae38386e382b9e3838833: "
180+ array(0) {
186+ array(0) {
186- array(3) {
187- [0]=>
188- string(128) "e38386e382b9e383883ae38386e382b9e3838831: 687474703a2f2f7777772e6578616d706c652e636f6d2fe38386e382b9e383882f, e38386e382b9e38388"
189- [1]=>
190- string(60) "e38386e382b9e383883ae38386e382b9e3838832: e38386e382b9e38388"
191- [2]=>
192- string(42) "e38386e382b9e383883ae38386e382b9e3838833: "
192+ [Error] Processing Instruction not finished
193+ Encoding: UTF-16LE
194+ XML Prologue: present
195+ Chunk size: 1 byte(s)
196+ BOM: prepended
197+ [Error] Processing Instruction not finished
198+ Encoding: UTF-16LE
199+ XML Prologue: not present
198- array(3) {
199- [0]=>
200- string(128) "e38386e382b9e383883ae38386e382b9e3838831: 687474703a2f2f7777772e6578616d706c652e636f6d2fe38386e382b9e383882f, e38386e382b9e38388"
201- [1]=>
202- string(60) "e38386e382b9e383883ae38386e382b9e3838832: e38386e382b9e38388"
203- [2]=>
204- string(42) "e38386e382b9e383883ae38386e382b9e3838833: "
202+ [Error] > required
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
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- }
1 (8%)
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+ array(0) {
174- array(3) {
175- [0]=>
176- string(128) "e38386e382b9e383883ae38386e382b9e3838831: 687474703a2f2f7777772e6578616d706c652e636f6d2fe38386e382b9e383882f, e38386e382b9e38388"
177- [1]=>
178- string(60) "e38386e382b9e383883ae38386e382b9e3838832: e38386e382b9e38388"
179- [2]=>
180- string(42) "e38386e382b9e383883ae38386e382b9e3838833: "
182- Encoding: UTF-16BE
186- array(3) {
187- [0]=>
188- string(128) "e38386e382b9e383883ae38386e382b9e3838831: 687474703a2f2f7777772e6578616d706c652e636f6d2fe38386e382b9e383882f, e38386e382b9e38388"
189- [1]=>
190- string(60) "e38386e382b9e383883ae38386e382b9e3838832: e38386e382b9e38388"
191- [2]=>
192- string(42) "e38386e382b9e383883ae38386e382b9e3838833: "
193- }
194- Encoding: UTF-16BE
191+ Encoding: UTF-16LE
195+ array(0) {
196+ }
197+ Encoding: UTF-16LE
198- array(3) {
199- [0]=>
200- string(128) "e38386e382b9e383883ae38386e382b9e3838831: 687474703a2f2f7777772e6578616d706c652e636f6d2fe38386e382b9e383882f, e38386e382b9e38388"
201- [1]=>
202- string(60) "e38386e382b9e383883ae38386e382b9e3838832: e38386e382b9e38388"
203- [2]=>
204- string(42) "e38386e382b9e383883ae38386e382b9e3838833: "
201+ array(0) {
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- }