diff --git a/docs/en/language-snippets.ent b/docs/en/language-snippets.ent new file mode 100644 index 00000000..00877885 --- /dev/null +++ b/docs/en/language-snippets.ent @@ -0,0 +1,11 @@ + + + + Technical Note + + The merge parameter respects array keys, so if + you merge two numerically indexed arrays, they may overwrite each other + or result in non-sequential keys. This is unlike the array_merge() function + of PHP which wipes out numerical keys and renumbers them. + +'> diff --git a/docs/en/programmers/api-functions/api-append-by-ref.xml b/docs/en/programmers/api-functions/api-append-by-ref.xml index b2caa1fb..b86e17e3 100644 --- a/docs/en/programmers/api-functions/api-append-by-ref.xml +++ b/docs/en/programmers/api-functions/api-append-by-ref.xml @@ -22,15 +22,7 @@ explanation. If you pass the optional third parameter of true, the value will be merged with the current array instead of appended. - - Technical Note - - The merge parameter respects array keys, so if - you merge two numerically indexed arrays, they may overwrite each other - or result in non-sequential keys. This is unlike the array_merge() function - of PHP which wipes out numerical keys and renumbers them. - - + ¬e.parameter.merge; append_by_ref diff --git a/docs/en/programmers/api-functions/api-append.xml b/docs/en/programmers/api-functions/api-append.xml index eb0d0bda..6426d6c6 100644 --- a/docs/en/programmers/api-functions/api-append.xml +++ b/docs/en/programmers/api-functions/api-append.xml @@ -25,15 +25,7 @@ parameter of true, the value will be merged with the current array instead of appended. - - Technical Note - - The merge parameter respects array keys, so if you merge two - numerically indexed arrays, they may overwrite each other or result in - non-sequential keys. This is unlike the array_merge() function of PHP - which wipes out numerical keys and renumbers them. - - + ¬e.parameter.merge; append diff --git a/docs/manual.xml.in b/docs/manual.xml.in index bc7e47ef..6194fba1 100644 --- a/docs/manual.xml.in +++ b/docs/manual.xml.in @@ -6,8 +6,10 @@ + %language-defs; +%language-snippets;