xref: /PHP-8.3/ext/xml/tests/bug26614.phpt (revision 552ea62e)
1--TEST--
2Bug #26614 (CDATA sections skipped on line count)
3--EXTENSIONS--
4xml
5--SKIPIF--
6<?php
7require __DIR__ . '/libxml_expat_skipif.inc';
8skipif(want_expat: true);
9?>
10--FILE--
11<?php
12require __DIR__ . '/bug26614.inc';
13?>
14--EXPECT--
15CDATA
16<DATA> at line 2, col 0 (byte 45)
17</DATA> at line 9, col 0 (byte 89)
18Comment
19<DATA> at line 2, col 0 (byte 45)
20</DATA> at line 9, col 0 (byte 89)
21Text
22<DATA> at line 2, col 0 (byte 45)
23</DATA> at line 9, col 0 (byte 89)
24