Database schema and sample data is in sql directory.
Query all humans and corresponding comma-separated vacation destinations.
Output columns: name, destinations.
Query: query01.sql
Query humans who have both Cuba and Sochi among their vacation destinations.
Output columns: name.
Query: query02.sql
Query humans who only have Cuba and Sochi among their vacation destinations.
Output columns: name.
Query: query03.sql
Implement a simple CLI script which takes a sting as an input, reverses it, strips vowels and outputs to stdout.
Input: Hello world! Output: !dlrw llH
$ ./bin/mirror.php Hello world!
!dlrw llH
Cover class/function from previous task with PHPUnit tests.
$ composer install
$ ./vendor/bin/phpunit ./tests/functional.php
PHPUnit 4.8.18 by Sebastian Bergmann and contributors.
....
Time: 153 ms, Memory: 3.75Mb
OK (4 tests, 4 assertions)