Location: PHPKode > scripts > Secure HTML parser and filter,XSS,CSRF > secure-html-parser-and-filter/test/expect/entities.txt
array(5) {
  ["Type"]=>
  string(6) "ENTITY"
  ["Entity"]=>
  string(3) "amp"
  ["Position"]=>
  int(0)
  ["Line"]=>
  int(1)
  ["Column"]=>
  int(1)
}
array(5) {
  ["Type"]=>
  string(4) "DATA"
  ["Data"]=>
  string(2) ";
"
  ["Position"]=>
  int(1)
  ["Line"]=>
  int(1)
  ["Column"]=>
  int(2)
}
array(5) {
  ["Type"]=>
  string(6) "ENTITY"
  ["Entity"]=>
  string(3) "amp"
  ["Position"]=>
  int(3)
  ["Line"]=>
  int(2)
  ["Column"]=>
  int(1)
}
array(5) {
  ["Type"]=>
  string(4) "DATA"
  ["Data"]=>
  string(5) "#xz;
"
  ["Position"]=>
  int(4)
  ["Line"]=>
  int(2)
  ["Column"]=>
  int(2)
}
array(5) {
  ["Type"]=>
  string(6) "ENTITY"
  ["Entity"]=>
  string(3) "amp"
  ["Position"]=>
  int(9)
  ["Line"]=>
  int(3)
  ["Column"]=>
  int(1)
}
array(5) {
  ["Type"]=>
  string(4) "DATA"
  ["Data"]=>
  string(4) "#x;
"
  ["Position"]=>
  int(10)
  ["Line"]=>
  int(3)
  ["Column"]=>
  int(2)
}
array(5) {
  ["Type"]=>
  string(6) "ENTITY"
  ["Entity"]=>
  string(3) "amp"
  ["Position"]=>
  int(14)
  ["Line"]=>
  int(4)
  ["Column"]=>
  int(1)
}
array(5) {
  ["Type"]=>
  string(4) "DATA"
  ["Data"]=>
  string(13) "#xfffffffff;
"
  ["Position"]=>
  int(15)
  ["Line"]=>
  int(4)
  ["Column"]=>
  int(2)
}
array(6) {
  ["Type"]=>
  string(6) "ENTITY"
  ["Entity"]=>
  string(10) "#xffffffff"
  ["Code"]=>
  float(4294967295)
  ["Position"]=>
  int(28)
  ["Line"]=>
  int(5)
  ["Column"]=>
  int(1)
}
array(5) {
  ["Type"]=>
  string(4) "DATA"
  ["Data"]=>
  string(1) "
"
  ["Position"]=>
  int(40)
  ["Line"]=>
  int(5)
  ["Column"]=>
  int(13)
}
array(6) {
  ["Type"]=>
  string(6) "ENTITY"
  ["Entity"]=>
  string(11) "#x0ffffffff"
  ["Code"]=>
  float(4294967295)
  ["Position"]=>
  int(41)
  ["Line"]=>
  int(6)
  ["Column"]=>
  int(1)
}
array(5) {
  ["Type"]=>
  string(4) "DATA"
  ["Data"]=>
  string(1) "
"
  ["Position"]=>
  int(54)
  ["Line"]=>
  int(6)
  ["Column"]=>
  int(14)
}
array(5) {
  ["Type"]=>
  string(6) "ENTITY"
  ["Entity"]=>
  string(3) "amp"
  ["Position"]=>
  int(55)
  ["Line"]=>
  int(7)
  ["Column"]=>
  int(1)
}
array(5) {
  ["Type"]=>
  string(4) "DATA"
  ["Data"]=>
  string(4) "#z;
"
  ["Position"]=>
  int(56)
  ["Line"]=>
  int(7)
  ["Column"]=>
  int(2)
}
array(5) {
  ["Type"]=>
  string(6) "ENTITY"
  ["Entity"]=>
  string(3) "amp"
  ["Position"]=>
  int(60)
  ["Line"]=>
  int(8)
  ["Column"]=>
  int(1)
}
array(5) {
  ["Type"]=>
  string(4) "DATA"
  ["Data"]=>
  string(3) "#;
"
  ["Position"]=>
  int(61)
  ["Line"]=>
  int(8)
  ["Column"]=>
  int(2)
}
array(5) {
  ["Type"]=>
  string(6) "ENTITY"
  ["Entity"]=>
  string(3) "amp"
  ["Position"]=>
  int(64)
  ["Line"]=>
  int(9)
  ["Column"]=>
  int(1)
}
array(5) {
  ["Type"]=>
  string(4) "DATA"
  ["Data"]=>
  string(13) "#4294967296;
"
  ["Position"]=>
  int(65)
  ["Line"]=>
  int(9)
  ["Column"]=>
  int(2)
}
array(6) {
  ["Type"]=>
  string(6) "ENTITY"
  ["Entity"]=>
  string(11) "#4294967295"
  ["Code"]=>
  float(4294967295)
  ["Position"]=>
  int(78)
  ["Line"]=>
  int(10)
  ["Column"]=>
  int(1)
}
array(5) {
  ["Type"]=>
  string(4) "DATA"
  ["Data"]=>
  string(1) "
"
  ["Position"]=>
  int(91)
  ["Line"]=>
  int(10)
  ["Column"]=>
  int(14)
}
array(6) {
  ["Type"]=>
  string(6) "ENTITY"
  ["Entity"]=>
  string(12) "#04294967295"
  ["Code"]=>
  float(4294967295)
  ["Position"]=>
  int(92)
  ["Line"]=>
  int(11)
  ["Column"]=>
  int(1)
}
array(5) {
  ["Type"]=>
  string(4) "DATA"
  ["Data"]=>
  string(1) "
"
  ["Position"]=>
  int(106)
  ["Line"]=>
  int(11)
  ["Column"]=>
  int(15)
}
array(5) {
  ["Type"]=>
  string(6) "ENTITY"
  ["Entity"]=>
  string(3) "amp"
  ["Position"]=>
  int(107)
  ["Line"]=>
  int(12)
  ["Column"]=>
  int(1)
}
array(5) {
  ["Type"]=>
  string(4) "DATA"
  ["Data"]=>
  string(8) "1bogus;
"
  ["Position"]=>
  int(108)
  ["Line"]=>
  int(12)
  ["Column"]=>
  int(2)
}
array(5) {
  ["Type"]=>
  string(6) "ENTITY"
  ["Entity"]=>
  string(3) "amp"
  ["Position"]=>
  int(116)
  ["Line"]=>
  int(13)
  ["Column"]=>
  int(1)
}
array(5) {
  ["Type"]=>
  string(4) "DATA"
  ["Data"]=>
  string(17) "toolongentitity;
"
  ["Position"]=>
  int(117)
  ["Line"]=>
  int(13)
  ["Column"]=>
  int(2)
}
array(5) {
  ["Type"]=>
  string(6) "ENTITY"
  ["Entity"]=>
  string(2) "ok"
  ["Position"]=>
  int(134)
  ["Line"]=>
  int(14)
  ["Column"]=>
  int(1)
}
array(5) {
  ["Type"]=>
  string(4) "DATA"
  ["Data"]=>
  string(1) "
"
  ["Position"]=>
  int(138)
  ["Line"]=>
  int(14)
  ["Column"]=>
  int(5)
}
array(5) {
  ["Type"]=>
  string(6) "ENTITY"
  ["Entity"]=>
  string(5) "notok"
  ["Position"]=>
  int(139)
  ["Line"]=>
  int(15)
  ["Column"]=>
  int(1)
}
Warning: it was found an entity without a name at position 1 line 1 column 2
Warning: it was found an entity with an empty hexadecimal code at position 6 line 2 column 4
Warning: it was found an entity with an empty hexadecimal code at position 12 line 3 column 4
Warning: it was found an entity with an hexadecimal code that is too large at position 26 line 4 column 13
Warning: it was found an entity with an invalid character code at position 57 line 7 column 3
Warning: it was found an entity with an empty code at position 56 line 7 column 2
Warning: it was found an entity with an empty code at position 61 line 8 column 2
Warning: it was found an entity with a code that is too large at position 76 line 9 column 13
Warning: it was found an entity with an invalid name at position 108 line 12 column 2
Warning: it was found an entity name that is too long at position 117 line 13 column 2
Warning: unterminated entity at position 139 line 15 column 1
Warning: it was found an incorrectly ended entity at position 145 line 15 column 7
Return current item: Secure HTML parser and filter,XSS,CSRF