Modifying extension to use homebrew PHP

Nick,

Thank you! I tried to make the existing php sort extension work with php 8, and thought maybe I might have cracked it. According to the documentation for implode() the delimiter string is the first argument and the array is the second. I swapped them but I still could not get it to work, lol :wink:

I’d really like to examine the new sort extension. I’d love to make my own in Javascript that alphabetically sorts a comma-separated list, e.g.

Seizure Disorder, Cerebral Palsy, Mitral Valve Prolapse, Thrombocytopenia, Hemorrhoids, Vitamin D Deficiency, Constipation, Onychogryphosis, Skin Cancer which required most of his left external ear to be resected.

Sorted to:

Cerebral Palsy, Constipation, Hemorrhoids, Mitral Valve Prolapse, Onychogryphosis, Seizure Disorder, Skin Cancer which required most of his left external ear to be resected, Thrombocytopenia, Vitamin D Deficiency.

Jay

1 Like