Skip to content

Instantly share code, notes, and snippets.

@djyugg djyugg/poh05_1.php
Created May 21, 2015

Embed
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
You can’t perform that action at this time.