Remove trailing semicolon from function entities and add them after sorting. Previously, sorting entities with trailing semicolons would result in functions not being in a natural order (e.g. curl_setopt_array would come before curl_setopt because curl_setopt; comes before curl_setopt_array;).
Remove trailing semicolon from function entities and add them after sorting. Previously, sorting entities with trailing semicolons would result in functions not being in a natural order (e.g.
curl_setopt_array
would come beforecurl_setopt
becausecurl_setopt;
comes beforecurl_setopt_array;
).Closes https://github.com/php/doc-en/issues/2847