Many exercises don't have stubs. For example Gigasecond is an empty file, but it should have a stub defined like:
// gigasecond.php
<?php
function from(DateTimeImmutable $date) {
throw new Exception('Not implemented');
}
This will lead to a better experience using the website code editor and also help to define the sandbox of solutions for students.
Many exercises don't have stubs. For example Gigasecond is an empty file, but it should have a stub defined like:
This will lead to a better experience using the website code editor and also help to define the sandbox of solutions for students.