php-internal-docs 8.4.8
Unofficial docs for php/php-src
|
Upon syncing the Lexbor sources, the patches in this directory need to be applied. The current Lexbor version is 2.4.0.
This contains the following patch files in mailbox format.
0006-Patch-out-unused-CSS-style-code.patch A PHP specific patch to remove CSS style and selector bindings from the Lexbor document.
Note for this patch the utilities to generate the tables are also patched. Make sure to apply on a fresh Lexbor clone and run (in lexbor/utils/encoding
): python3 single-byte.py
and python3 multi-byte.py
to generate the tables. Also run python3 tokenizer_entities_bst.py
to generate the static binary search tree for entities.
ext/dom/lexbor/lexbor
git am -3 ../patches/0001-Expose-line-and-column-information-for-use-in-PHP.patch
git am -3 ../patches/0002-Track-implied-added-nodes-for-options-use-in-PHP.patch
git am -3 ../patches/0003-Patch-utilities-and-data-structure-to-be-able-to-gen.patch
git am -3 ../patches/0004-Remove-unused-upper-case-tag-static-data.patch
git am -3 ../patches/0005-Shrink-size-of-static-binary-search-tree.patch
git am -3 ../patches/0006-Patch-out-unused-CSS-style-code.patch
git reset HEAD~6
# 6 is the number of commits created by the above commands