Skip to content

Instantly share code, notes, and snippets.



Created May 21, 2015
What would you like to do?
$inputLines = fgets(STDIN);
for ($i = 0; $i < mb_strlen($inputLines); $i += 2) {
echo substr($inputLines, $i, 1);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.