Skip to content

Instantly share code, notes, and snippets.

@binarykore
Last active February 15, 2024 07:54
Show Gist options
  • Save binarykore/2e1938ca838d3165fdf49b1366636e9e to your computer and use it in GitHub Desktop.
Save binarykore/2e1938ca838d3165fdf49b1366636e9e to your computer and use it in GitHub Desktop.
Proper Full Name Pronunciation using Index Keys of Tri..
<?php
$_fullName = ["first_name" => "","middle_name" => "","last_name" => ""];
$_firstAndLast = "";//key() and end() (index keys)
$_punctualName = "";//array_pop middle key, then concat first_name and middle_name, after concat same value to last_name
//EG: Kingfish, John Doe - Larc
//For Social Media Apps like Twitter, Facebook and Instagram especially here in Asia..
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment