Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
<?php
$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