]> granicus.if.org Git - php/commit
- PHP uses a big endian representation when it converts the
authorGustavo André dos Santos Lopes <cataphract@php.net>
Mon, 11 Oct 2010 22:26:10 +0000 (22:26 +0000)
committerGustavo André dos Santos Lopes <cataphract@php.net>
Mon, 11 Oct 2010 22:26:10 +0000 (22:26 +0000)
commitf4a896c20900f5ce3c290941afe5b53560f34196
tree604711ac24df1e6894a6e3f5204bf7220f808a43
parent17dc181117fd302ef196a959add39f38152a770e
- PHP uses a big endian representation when it converts the
  code unit sequences to integers so as to store the entity
  maps. Code in traverse_for_entities assumed little
  endian. Fixed.
  (in practice, due to the absence of unicode and entity
  mappings for multi-byte encodings -- except UTF-8 --, this
  doesn't matter, so the relevant code was commented out for
  performance reasons).
ext/standard/html.c