RSSAmplifier

iBlog - Ilia Alshanetsky · Jun 24, 2026

I Forked a Dead PHP Name Parser Because It Couldn't Tell a Credential From a Surname

0
Sign in to vote or save

This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.

Here is a bug in a name-parsing library I use at work: // theiconic/name-parser $name = $parser->parse('Jane Doe DDS'); $name->getLastname(); // "Dds" $name->getMiddlename(); // "Doe" The dental credential is now her last name. The real surname got shoved into the middle-name field. Every row with a trailing credential and no comma had some version of this, and in a list of clinicians that is most…

Read on ilia.ws

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.