Skip to content

Instantly share code, notes, and snippets.

@alpha1
Created August 9, 2018 04:50
Show Gist options
  • Save alpha1/5b22a290fe8cef998936778acd79b2b6 to your computer and use it in GitHub Desktop.
Save alpha1/5b22a290fe8cef998936778acd79b2b6 to your computer and use it in GitHub Desktop.
Append Character to each item on Array [PHP]
<?php
foreach($input_array as &$value) {
$value = '`'. $value .'`';
}
unset($value);
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment