getClaimedId(); $result = $aoutput == $output; echo ''; echo ''; echo ''; echo ''; echo ''; } $tests = array( 'redirtest/one.php' => 'redirtest/three.php', 'redirtest/two.php' => 'redirtest/three.php', 'redirtest/three.php' => 'redirtest/three.php', 'redirtest/four.php' => 'redirtest/three.php', 'redirtest/five.php' => 'redirtest/three.php', // 'redirtest/six.php' => 'redirtest/three.php', ); array_walk($tests, 'doRedirTest'); ?>
InputExpectedActualResult
', htmlentities($input), '', htmlentities(str_replace($url2, '', $output)), '', htmlentities(str_replace($url2, '', $aoutput)), ''; echo $result ? 'Passed' : 'Failed'; echo '