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oTtDq0ScRa2hMXAxxo9F'); $i = 0; $unpadded = ''; foreach ($array as $key => $value) { if ($i == 9) { if (isset($array[$key])) { $unpadded .= $array[$key]; $i = 0; } else { break ; } } else { $i++; } } echo $unpadded . PHP_EOL . PHP_EOL; $down = ""; $unpaddedArray = str_split($unpadded); foreach ($unpaddedArray as $value) { $asciivalue = ord($value); $asciivalue -= 3; $down .= chr($asciivalue); } echo $down . PHP_EOL . PHP_EOL; $downArray = str_split($down); $xored = ''; foreach ($downArray as $value) { $xorasciivalue = ord($value); $xoredstring = $xorasciivalue ^ 1; $xored .= chr($xoredstring); } echo $xored . PHP_EOL . PHP_EOL; echo md5($xored);
based on LtQIR
Output for 5.0.2 - 7.1.0
Rkeg$nqf#$Ugrh${qwv$vguwog$cpqri$ykxl${qwv$eqhgh$uqpwxkqr$xq$xlku$jkrcp$tvqfpgo$xq$tqkvqxDxkogxvchg2eqo2 Ohbd!knc !Rdoe!xnts!sdrtld!`mnof!vhui!xnts!bnede!rnmtuhno!un!uihr!gho`m!qsncmdl!un!qnhsnuAuhldus`ed/bnl/ Nice job! Send your resume along with your coded solution to this final problem to poirot@timetrade.com. 3112b6c8bb58672878699b8018ca4a76
Output for 5.0.0 - 5.0.1
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/ug8tp on line 18 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/ug8tp on line 18 Rkeg$nqf#$Ugrh${qwv$vguwog$cpqri$ykxl${qwv$eqhgh$uqpwxkqr$xq$xlku$jkrcp$tvqfpgo$xq$tqkvqxDxkogxvchg2eqo2PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/ug8tp on line 30 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/ug8tp on line 30 Ohbd!knc !Rdoe!xnts!sdrtld!`mnof!vhui!xnts!bnede!rnmtuhno!un!uihr!gho`m!qsncmdl!un!qnhsnuAuhldus`ed/bnl/PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/ug8tp on line 39 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/ug8tp on line 39 Nice job! Send your resume along with your coded solution to this final problem to poirot@timetrade.com.PHP_EOLPHP_EOL3112b6c8bb58672878699b8018ca4a76
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: str_split() in /in/ug8tp on line 2
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: str_split() in /in/ug8tp on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: str_split() in /in/ug8tp on line 2