darkmist icon

Autograder Template

darkmist | PRO | 07/22/17 02:56:26 AM UTC | 0 ⭐ | 167 👁️ | Never ⏰ | []
PHP |

380 B

|

None

|

0 👍

/

0 👎

// BEGIN HIDDEN TEST
$actual = "";
$expected = "Hello, world!" . PHP_EOL;
 
try {
    $actual = $testFunc();
} catch(Exception $e) {
    throw new Exception("FAILED: " . $e->getMessage());
} finally {
    if ($expected !== $actual) {
        throw new Exception('FAILED: "' . $expected . '" DOES NOT EQUAL "' . $actual . '"');
    }
    echo "PASSED";
}
// END HIDDEN TEST

Comments